From: Philippe M. <phi...@us...> - 2001-09-26 11:47:30
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory usw-pr-cvs1:/tmp/cvs-serv10442/functions Modified Files: imap_mailbox.php Log Message: Sorry, a bug slipped into the CVS. Index: imap_mailbox.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/imap_mailbox.php,v retrieving revision 1.85 retrieving revision 1.86 diff -u -w -r1.85 -r1.86 --- imap_mailbox.php 2001/09/26 10:43:39 1.85 +++ imap_mailbox.php 2001/09/26 11:47:27 1.86 @@ -11,9 +11,6 @@ return; define ('imap_mailbox_php', true); - require_once('../src/load_prefs.php'); - require_once('../functions/array.php'); - /****************************************************************************** ** Expunges a mailbox ******************************************************************************/ @@ -212,8 +209,9 @@ $inbox_in_list = false; $inbox_subscribed = false; - + require_once('../src/load_prefs.php'); + require_once('../functions/array.php'); $dm = sqimap_get_delimiter ($imap_stream); @@ -359,6 +357,9 @@ ******************************************************************************/ function sqimap_mailbox_list_all ($imap_stream) { global $list_special_folders_first, $folder_prefix; + + if (!function_exists ("ary_sort")) + include_once('../functions/array.php'); $dm = sqimap_get_delimiter ($imap_stream); |