Changing to use require_param meant that restore session was not cleared, causing a 2nd restore in succession of same backup to fail. One-line tweak fixes it - I think (I think it's ok but filed as bug 5145 so the appropriate person can check if I messed up)

This commit is contained in:
sam_marshall
2006-04-10 11:49:48 +00:00
parent 96463e677e
commit bb2848749a
+1 -1
View File
@@ -16,7 +16,7 @@
//If restore session info exists, but we are posting parameters
//manually, this has prioriry
if (isset($restore) and isset($restore_restoreto)) {
if (isset($restore) and isset($_POST['restore_restoreto'])) {
unset($restore);
}