summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 25eb0f4)
raw | patch | inline | side by side (parent: 25eb0f4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Feb 2006 09:23:01 +0000 (09:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 22 Feb 2006 09:23:01 +0000 (09:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2718 594d385d-05f5-0310-b6e9-bd551577e9d8
html/main.php | patch | blob | history |
diff --git a/html/main.php b/html/main.php
index dd02c0f7a215657231d1df21072c5ebc691872ac..a2b8d72eee59d9bb9a7607a4ba8f95729761ae37 100644 (file)
--- a/html/main.php
+++ b/html/main.php
$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
-
/* React on clicks */
if ($_SERVER["REQUEST_METHOD"] == "POST"){
lock at this point globally. Plugins do not need to remove it. */
if (isset($_POST['delete_lock']) && isset($_SESSION['dn'])){
del_lock ($_SESSION['dn']);
+
+ /* Set old Post data */
+ if(isset($_SESSION['LOCK_VARS_USED'])){
+ foreach($_SESSION['LOCK_VARS_USED'] as $name => $value){
+ $_GET[$name] = $value;
+ $_POST[$name] = $value;
+ }
+ }
sess_del ('dn');
}