fixed warning
This commit is contained in:
parent
3174ec461c
commit
81c8b6185e
1 changed files with 2 additions and 1 deletions
|
@ -514,7 +514,8 @@ function sqimap_mailbox_option_list($imap_stream, $show_selected = 0, $folder_sk
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($boxes as $boxes_part) {
|
foreach ($boxes as $boxes_part) {
|
||||||
if ($flag == NULL || !in_array($flag, $boxes_part['flags'])) {
|
if ($flag == NULL || (is_array($boxes_part['flags'])
|
||||||
|
&& !in_array($flag, $boxes_part['flags']))) {
|
||||||
$box = $boxes_part['unformatted'];
|
$box = $boxes_part['unformatted'];
|
||||||
|
|
||||||
if ($folder_skip != 0 && in_array($box, $folder_skip) ) {
|
if ($folder_skip != 0 && in_array($box, $folder_skip) ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue