Code

Fixed saving of existing scripts
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 11:44:54 +0000 (11:44 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Sep 2006 11:44:54 +0000 (11:44 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4695 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_logonManagementDialog.inc

index 476a7c7709ec869acc80aa67cda30d06d24d75d4..6d5c4a5a25b52e0603c26ce7c3e61371846e089f 100644 (file)
@@ -79,6 +79,10 @@ 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]); 
         }