From 02d10153903a1c63e3de3ac1729992536504eaf7 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Aug 2007 06:55:55 +0000 Subject: [PATCH] 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 --- include/class_plugin.inc | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.30.2