diff --git a/emailadmin/inc/class.defaultimap.inc.php b/emailadmin/inc/class.defaultimap.inc.php index aa3612e086..8fa928f750 100644 --- a/emailadmin/inc/class.defaultimap.inc.php +++ b/emailadmin/inc/class.defaultimap.inc.php @@ -407,22 +407,22 @@ class defaultimap extends Net_IMAP $retrieveDefault = false; if($this->hasCapability('NAMESPACE')) { - $nameSpace = $this->getNamespace(); - if( PEAR::isError($nameSpace)) { + $lNameSpace = $this->getNamespace(); + if( PEAR::isError($lNameSpace)) { //error_log("emailadmin::defaultimap->getNameSpaces: called from->".function_backtrace()); - if ($this->debug) error_log("emailadmin::defaultimap->getNameSpaces:".print_r($nameSpace,true)); + if ($this->debug) error_log("emailadmin::defaultimap->getNameSpaces:".print_r($lNameSpace,true)); $retrieveDefault = true; } else { $result = array(); - $result['personal'] = $nameSpace['personal']; + $result['personal'] = $lNameSpace['personal']; - if(is_array($nameSpace['others'])) { - $result['others'] = $nameSpace['others']; + if(is_array($lNameSpace['others'])) { + $result['others'] = $lNameSpace['others']; } - if(is_array($nameSpace['shared'])) { - $result['shared'] = $nameSpace['shared']; + if(is_array($lNameSpace['shared'])) { + $result['shared'] = $lNameSpace['shared']; } } }