From: hickert Date: Thu, 9 Aug 2007 06:55:55 +0000 (+0000) Subject: Updated cleanup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02d10153903a1c63e3de3ac1729992536504eaf7;p=gosa.git Updated cleanup. Attributes changed in $this->attrs will now be unpdated in saved_attributes too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7009 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 537743670..8bb0a2ce3 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -398,6 +398,11 @@ class plugin } } } + + /* Update saved attributes and ensure that next cleanups will be successful too */ + foreach($this->attrs as $name => $value){ + $this->saved_attributes[$name] = $value; + } } /* Check formular input */