From: hickert Date: Wed, 24 Feb 2010 14:04:27 +0000 (+0000) Subject: Fixed undefined index problem when editing multiple users X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41f8da538bc5503c0a8705588ab7e891329634ad;p=gosa.git Fixed undefined index problem when editing multiple users git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15696 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 59d0eab4c..94a9ae722 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1389,10 +1389,15 @@ class user extends plugin /* Indicate whether a password change is needed or not */ function password_change_needed() { - if(in_array("pw_storage",$this->multi_boxes)){ - return(TRUE); + if($this->multiple_support_active){ + return(FALSE); + }else{ + + if(in_array("pw_storage",$this->multi_boxes)){ + return(TRUE); + } + return($this->pw_storage != $this->last_pw_storage && !$this->is_template); } - return($this->pw_storage != $this->last_pw_storage && !$this->is_template); }