New hook function: boolean_hook_function(), which is used for hooks that want a true...
[squirrelmail.git] / functions / imap_mailbox.php
index 18af178..5d8a1a6 100755 (executable)
@@ -182,7 +182,7 @@ function isSpecialMailbox( $box ) {
              isTrashMailbox($box) || isSentMailbox($box) || isDraftMailbox($box) );
 
     if ( !$ret ) {
-        $ret = do_hook_function( 'special_mailbox', $box );
+        $ret = boolean_hook_function('special_mailbox',$box,1);
     }
     return $ret;
 }