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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user