From 9427d7f628a7bf02da106464318edae6c093f1a6 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 2 Mar 2019 13:07:29 +0000 Subject: [PATCH] We have to fetch the data this way --- src/Core/Update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Update.php b/src/Core/Update.php index e4ed4a478f..e0a7c4a266 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; }