PluginProbe
CSS & JavaScript Toolbox / 6.0.9
CSS & JavaScript Toolbox v6.0.9
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | tables/blocks.php +3 -3 6.06.0.9 View file →
@@ -68,18 +68,18 @@
68 68 $ids = implode(',', $ids);
69 69 $where[] = " `id` IN ({$ids})";
70 70 }
71 71 // Filter by backup name.
72 - $where[] = (($filters['backupId'] == null) ? ' `backupId` IS NULL' : " `backupId` = {$filters['backupId']}");
72 + $where[] = (!isset($filters['backupId']) ? ' `backupId` IS NULL' : " `backupId` = {$filters['backupId']}");
73 73 unset($filters['backupId']);
74 74 // Filter by parent.
75 - if ($filters['parent'] != null) {
75 + if (isset($filters['parent'])) {
76 76 $filters['parent'] = implode(',', ((array) $filters['parent']));
77 77 $where[] = " `parent` IN ({$filters['parent']})";
78 78 unset($filters['parent']);
79 79 }
80 80 // Types filter.
81 - if ($filters['types']) {
81 + if (isset($filters['types'])) {
82 82 $types = '"' . implode('", "', $filters['types']) . '"';
83 83 $where[] = " `type` IN ({$types})";
84 84 unset($filters['types']);
85 85 }