From 3ade7761116d7fc3e5e21115542f9288ae7bc622 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 15 Dec 2009 13:02:19 +0000 Subject: [PATCH] Fix: accept POST and GET --- htdocs/install/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 6c90634d642..7dd5e471544 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -47,8 +47,8 @@ error_reporting($err); $setuplang=isset($_POST["selectlang"])?$_POST["selectlang"]:(isset($_GET["selectlang"])?$_GET["selectlang"]:'auto'); $langs->setDefaultLang($setuplang); -$versionfrom=isset($_GET["versionfrom"])?$_GET["versionfrom"]:''; -$versionto=isset($_GET["versionto"])?$_GET["versionto"]:''; +$versionfrom=isset($_POST["versionfrom"])?$_POST["versionfrom"]:(isset($_GET["versionfrom"])?$_GET["versionfrom"]:''); +$versionto=isset($_POST["versionto"])?$_POST["versionto"]:(isset($_GET["versionto"])?$_GET["versionto"]:''); $langs->load("admin"); $langs->load("install");