Fix PHP warning for real (#7206)

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

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

Loading…
Cancel
Save