From 41f8da538bc5503c0a8705588ab7e891329634ad Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Feb 2010 14:04:27 +0000 Subject: [PATCH] Fixed undefined index problem when editing multiple users git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15696 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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); } -- 2.30.2