summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30613f9)
raw | patch | inline | side by side (parent: 30613f9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2005 10:41:02 +0000 (10:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jul 2005 10:41:02 +0000 (10:41 +0000) |
plugins/admin/systems/class_servKolab.inc | patch | blob | history |
index c88e17bb34aa8c4d8a7c24ecf77029736cfc26ed..0e13bf3777b30d643ac4a625a0b03fe61b903bd4 100644 (file)
} 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="";
}
}