Permalink
Browse files

Changing to use require_param meant that restore session was not clea…

…red, 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)
  • Loading branch information...
1 parent 96463e6 commit bb2848749a6bf7b46840e274fbb65b58959a9d09 sam_marshall committed Apr 10, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restore_check.html
@@ -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);
}

0 comments on commit bb28487

Please sign in to comment.