Skip to content

Commit 41cdc48

Browse files
committed
fix(issue): missing status for all statuses
1 parent 912d8fc commit 41cdc48

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

hook.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,7 @@ function plugin_formcreator_addWhere($link, $nott, $itemtype, $ID, $val, $search
191191
if ($item = getItemForItemtype($itemtype)) {
192192
switch ($val) {
193193
case 'all':
194-
$tocheck = array_merge($item->getNewStatusArray(),
195-
$item->getProcessStatusArray(),
196-
$item->getSolvedStatusArray(),
197-
$item->getClosedStatusArray());
194+
$tocheck = array_keys($item->getAllStatusArray());
198195
break;
199196

200197
case Ticket::INCOMING:

0 commit comments

Comments
 (0)