Code

Remove old saved post variables.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Dec 2006 04:47:32 +0000 (04:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 Dec 2006 04:47:32 +0000 (04:47 +0000)
When an entry was locked some POST/GET values will be saved and restored if necessary.
Those values wan't restted.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5327 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 574ff73450a84f3db7f7e8f677635bbcab1262cb..92cd6ae7c7eb6db74caaf34bc6abed4fc41742f9 100644 (file)
@@ -226,8 +226,9 @@ class plugin
 
     /* This one is empty currently. Fabian - please fill in the docu code */
     $_SESSION['current_class_for_help'] = get_class($this);
+
     /* Reset Lock message POST/GET check array, to prevent perg_match errors*/
-    $_SESSION['LOCK_VARS_TO_USE'] =array();
+    $_SESSION['LOCK_VARS_TO_USE'] = $_SESSION['LOCK_VARS_USED'] =array();
   }
 
   /*! \brief execute plugin