From: hickert Date: Tue, 5 Jul 2005 10:41:02 +0000 (+0000) Subject: Little fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8ef247a62f93b3a4344cb109a1b58e6b9aa92992;p=gosa.git Little fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@919 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servKolab.inc b/plugins/admin/systems/class_servKolab.inc index c88e17bb3..0e13bf377 100644 --- a/plugins/admin/systems/class_servKolab.inc +++ b/plugins/admin/systems/class_servKolab.inc @@ -65,14 +65,17 @@ class servkolab extends plugin { } else { $this->is_account=false; } - - if(is_array($this->attrs['postfix-mynetworks'])){ - unset($this->attrs['postfix-mynetworks']['count']); - $tmp=""; - foreach($this->attrs['postfix-mynetworks'] as $tm){ - $tmp.=$tm.";"; + if(isset($this->attrs['postfix-mynetworks'])){ + if(is_array($this->attrs['postfix-mynetworks'])){ + unset($this->attrs['postfix-mynetworks']['count']); + $tmp=""; + foreach($this->attrs['postfix-mynetworks'] as $tm){ + $tmp.=$tm.";"; + } + $this->postfix_mynetworks = $tmp; } - $this->postfix_mynetworks = $tmp; + }else{ + $this->postfix_mynetworks=""; } }