We have to fetch the data this way
This commit is contained in:
@@ -223,7 +223,7 @@ class Update
|
|||||||
$sent = [];
|
$sent = [];
|
||||||
|
|
||||||
// every admin could had different language
|
// every admin could had different language
|
||||||
foreach ($adminlist as $admin) {
|
while ($admin = DBA::fetch($adminlist)) {
|
||||||
if (in_array($admin['email'], $sent)) {
|
if (in_array($admin['email'], $sent)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -265,7 +265,7 @@ class Update
|
|||||||
$sent = [];
|
$sent = [];
|
||||||
|
|
||||||
// every admin could had different language
|
// every admin could had different language
|
||||||
foreach ($adminlist as $admin) {
|
while ($admin = DBA::fetch($adminlist)) {
|
||||||
if (in_array($admin['email'], $sent)) {
|
if (in_array($admin['email'], $sent)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user