fix filter
This commit is contained in:
parent
abdfa6db5a
commit
b31a76ef9a
|
@ -169,8 +169,10 @@ class Taskwarrior
|
||||||
$parts[] = $option;
|
$parts[] = $option;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$filter = array_filter((array)$filter, 'trim');
|
||||||
|
|
||||||
if ($filter) {
|
if ($filter) {
|
||||||
foreach((array)$filter as $f) {
|
foreach($filter as $f) {
|
||||||
$parts[] = "( " . $f . ' )';
|
$parts[] = "( " . $f . ' )';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue