fix for Bug: [ 1016531 ] felamimail: Warning Invalid argument for foreach()

This commit is contained in:
Lars Kneschke 2004-08-26 07:19:57 +00:00
parent 5f70299d28
commit a0911e593f

View File

@ -1,9 +1,9 @@
<?php <?php
/***************************************************************************\ /***************************************************************************\
* phpGroupWare - FeLaMiMail * * eGroupWare - FeLaMiMail *
* http://www.linux-at-work.de * * http://www.linux-at-work.de *
* http://www.phpgw.de * * http://www.phpgw.de *
* http://www.phpgroupware.org * * http://www.egroupware.org *
* Written by : Lars Kneschke [lkneschke@linux-at-work.de] * * Written by : Lars Kneschke [lkneschke@linux-at-work.de] *
* ------------------------------------------------- * * ------------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it * * 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'))) is_array(imap_list($this->mbox,$mailboxString,'INBOX')))
{ {
$folders['INBOX'] = 'INBOX'; $folders['INBOX'] = 'INBOX';
return $folders;
} }
return false; return $folders;
} }
} }