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');
}