Skip to content

Commit

Permalink
Fix displaying public namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 4, 2013
1 parent 328cdb7 commit 244420a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions imp/lib/Ftree/Account/Imap.php
Expand Up @@ -121,11 +121,14 @@ public function getList($query = null)

switch ($ns_info['type']) {
case Horde_Imap_Client::NS_OTHER:
if ($prefs->getValue('tree_view')) {
$parent = self::OTHER_KEY;
}
break;

case Horde_Imap_Client::NS_SHARED:
if ($prefs->getValue('tree_view')) {
$parent = $ns_info['type']
? self::OTHER_KEY
: self::SHARED_KEY;
$parent = self::SHARED_KEY;
}
break;
}
Expand Down

0 comments on commit 244420a

Please sign in to comment.