From: Michael M Slusarz Date: Wed, 5 Aug 2009 07:45:55 +0000 (-0600) Subject: nits X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=aaf20aaa53e6684e503564dcc9f2ec5e3ce533f4;p=horde.git nits --- diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 147dcddf1..868496328 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -1995,7 +1995,10 @@ class IMP_Imap_Tree */ public function createMailboxName($parent, $new) { - $ns_info = (empty($parent)) ? $GLOBALS['imp_imap']->defaultNamespace() : $this->_getNamespace($parent); + $ns_info = empty($parent) + ? $GLOBALS['imp_imap']->defaultNamespace() + : $this->_getNamespace($parent); + if (is_null($ns_info)) { if ($this->isNamespace($this->_tree[$parent])) { $ns_info = $this->_getNamespace($new); @@ -2013,4 +2016,5 @@ class IMP_Imap_Tree } return $mbox . $new; } + }