Fix PHP error where calling get() on a non object

pull/17/head
Aleksander Machniak 12 years ago
parent eb0478df35
commit f0a3911f07

@ -2670,6 +2670,8 @@ class rcube_imap extends rcube_storage
return array();
}
$config = rcube::get_instance()->config;
// #1486796: some server configurations doesn't return folders in all namespaces
if ($root == '' && $name == '*' && $config->get('imap_force_ns')) {
$this->list_folders_update($result);

Loading…
Cancel
Save