Fix PHP warning for real (#7206)

pull/7317/head
Aleksander Machniak 5 years ago
parent 7d97c5b215
commit e0b56aeb4d

@ -254,10 +254,12 @@ class markasjunk extends rcube_plugin
$a_uids = array(); $a_uids = array();
foreach ($messageset as $mbox => $uids) { foreach ($messageset as $mbox => $uids) {
if (is_array($uids)) {
foreach ($uids as $uid) { foreach ($uids as $uid) {
$a_uids[] = $multifolder ? $uid . '-' . $mbox : $uid; $a_uids[] = $multifolder ? $uid . '-' . $mbox : $uid;
} }
} }
}
return $a_uids; return $a_uids;
} }

Loading…
Cancel
Save