diff --git a/src/Core/Update.php b/src/Core/Update.php index e4ed4a478..e0a7c4a26 100644 --- a/src/Core/Update.php +++ b/src/Core/Update.php @@ -223,7 +223,7 @@ class Update $sent = []; // every admin could had different language - foreach ($adminlist as $admin) { + while ($admin = DBA::fetch($adminlist)) { if (in_array($admin['email'], $sent)) { continue; } @@ -265,7 +265,7 @@ class Update $sent = []; // every admin could had different language - foreach ($adminlist as $admin) { + while ($admin = DBA::fetch($adminlist)) { if (in_array($admin['email'], $sent)) { continue; }