Skip to content

Commit

Permalink
fix(issue): missing status for all statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 20, 2019
1 parent 912d8fc commit 41cdc48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,7 @@ function plugin_formcreator_addWhere($link, $nott, $itemtype, $ID, $val, $search
if ($item = getItemForItemtype($itemtype)) {
switch ($val) {
case 'all':
$tocheck = array_merge($item->getNewStatusArray(),
$item->getProcessStatusArray(),
$item->getSolvedStatusArray(),
$item->getClosedStatusArray());
$tocheck = array_keys($item->getAllStatusArray());
break;

case Ticket::INCOMING:
Expand Down

0 comments on commit 41cdc48

Please sign in to comment.