From 0aaae6746dbca6fd99fd3e869d07b4149c338c41 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 15 Sep 2006 11:44:54 +0000 Subject: [PATCH] Fixed saving of existing scripts git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4695 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_logonManagementDialog.inc | 4 ++++ 1 file changed, 4 insertions(+) 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]); } -- 2.30.2