From 938d224bde12820d57dbddedf134809fad39db76 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 7 Dec 2006 04:47:32 +0000 Subject: [PATCH] Remove old saved post variables. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 574ff7345..92cd6ae7c 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -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 -- 2.30.2