Fix wrong logic.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 21:37:06 +0000 (15:37 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 21:37:06 +0000 (15:37 -0600)
imp/lib/IMP.php

index 6511af7..1707796 100644 (file)
@@ -445,7 +445,7 @@ class IMP
         }
 
         $ns_info = $GLOBALS['imp_imap']->getNamespace($folder);
-        $delimiter = is_null($ns_info) ? $ns_info['delimiter'] : '';
+        $delimiter = is_null($ns_info) ? '' : $ns_info['delimiter'];
 
         /* Substitute any translated prefix text. */
         $sub_array = array(