Code

Added require_once. Else PHP4 can't extend the class
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 11:37:04 +0000 (11:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 11:37:04 +0000 (11:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4694 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_logonManagementDialog.inc

index d222bd11fa271c81c73c260c8527427ffb27a11a..a45825b0e11959a52ca71228e8c2030801404ae8 100644 (file)
@@ -79,6 +79,9 @@ class logonManagementDialog extends plugin
   {
     if(isset($_POST['dialogissubmitted'])){
       foreach($this->attributes as $attr){
+        if(!$this->nameIsEditable && $attr == "LogonName"){
+          continue;
+        }
         if(isset($_POST[$attr])){
           $this->$attr = stripslashes($_POST[$attr]); 
         }else{