diff --git a/module/execution/control.php b/module/execution/control.php index 41306fdc39..9f7146a1f3 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1615,7 +1615,7 @@ class execution extends control { foreach($planList as $planID) { - if(!array_search($planID, $oldPlans)) $newPlans[$planID] = $planID; + if(array_search($planID, $oldPlans) === false) $newPlans[$planID] = $planID; } } }