forked from extern/egroupware
fix for Bug: [ 1016531 ] felamimail: Warning Invalid argument for foreach()
This commit is contained in:
parent
5f70299d28
commit
a0911e593f
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
/***************************************************************************\
|
||||
* phpGroupWare - FeLaMiMail *
|
||||
* eGroupWare - FeLaMiMail *
|
||||
* http://www.linux-at-work.de *
|
||||
* http://www.phpgw.de *
|
||||
* http://www.phpgroupware.org *
|
||||
* http://www.egroupware.org *
|
||||
* Written by : Lars Kneschke [lkneschke@linux-at-work.de] *
|
||||
* ------------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
@ -493,9 +493,8 @@
|
||||
is_array(imap_list($this->mbox,$mailboxString,'INBOX')))
|
||||
{
|
||||
$folders['INBOX'] = 'INBOX';
|
||||
return $folders;
|
||||
}
|
||||
return false;
|
||||
return $folders;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user