Change to new hook function, as elsewhere in same file
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Jan 2004 04:21:31 +0000 (04:21 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Jan 2004 04:21:31 +0000 (04:21 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6376 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php

index d256c54..950f4e5 100755 (executable)
@@ -898,7 +898,7 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream) {
             $mbx->is_special |= ($mbx->is_sent = isSentMailbox($mailbox));
             $mbx->is_special |= ($mbx->is_draft = isDraftMailbox($mailbox));
             if (!$mbx->is_special)
-                $mbx->is_special = do_hook_function('special_mailbox', $mailbox);
+                $mbx->is_special = boolean_hook_function('special_mailbox', $mailbox, 1);
             
             if (isset($mbx_ary[$i]['unseen'])) {
                 $mbx->unseen = $mbx_ary[$i]['unseen'];