We have to fetch the data this way
This commit is contained in:
parent
16c2ae89e8
commit
9427d7f628
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue