From: cajus Date: Fri, 15 Sep 2006 11:44:54 +0000 (+0000) Subject: Fixed saving of existing scripts X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0aaae6746dbca6fd99fd3e869d07b4149c338c41;p=gosa.git Fixed saving of existing scripts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4695 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_logonManagementDialog.inc b/plugins/personal/environment/class_logonManagementDialog.inc index 476a7c770..6d5c4a5a2 100644 --- a/plugins/personal/environment/class_logonManagementDialog.inc +++ b/plugins/personal/environment/class_logonManagementDialog.inc @@ -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]); }