From 23be41cd7179225a533874769a093920f79d2095 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 15 Jun 2022 13:25:41 +0800 Subject: [PATCH] * Fix bug #23738. --- module/execution/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } }