|
@@ -109,7 +109,7 @@ discard block |
|
|
block discarded – undo |
|
109
|
109
|
try { |
|
110
|
110
|
list($checks, $groups, $tags) = $this->getFilterParams($request); |
|
111
|
111
|
|
|
112
|
|
- $checks = array_filter($checks, static function ($i) { |
|
|
112
|
+ $checks = array_filter($checks, static function($i) { |
|
113
|
113
|
return null !== $i; |
|
114
|
114
|
}); |
|
115
|
115
|
|
|
@@ -154,7 +154,7 @@ discard block |
|
|
block discarded – undo |
|
154
|
154
|
$tags = $check->getTags(); |
|
155
|
155
|
|
|
156
|
156
|
$d = ['check' => $check->getId(), 'label' => $check->getLabel(), 'group' => $check->getGroup(), 'tags' => $tags, 'Descr' => $check->getDescr()]; |
|
157
|
|
- $d = array_filter($d, static function ($v) { |
|
|
157
|
+ $d = array_filter($d, static function($v) { |
|
158
|
158
|
return !empty($v); |
|
159
|
159
|
}); |
|
160
|
160
|
$data[] = $d; |
Please login to merge, or discard this patch.