aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-05-08 21:25:33 +0000
committerplegall <plg@piwigo.org>2010-05-08 21:25:33 +0000
commit3597dcaa7ae7f949f6f4f665e271ac8292dca11c (patch)
treec3eb77c2d9e212f3ac7e07c83396319bce8c04d5 /admin
parent4eb631dd5a323a60e9e35d83b201261cbc9c7591 (diff)
bug fixed on authentication check for upgrade without the 'now' mode
git-svn-id: http://piwigo.org/svn/trunk@6131 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/include/functions_upgrade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php
index 46d3837fe..c2df4d5df 100644
--- a/admin/include/functions_upgrade.php
+++ b/admin/include/functions_upgrade.php
@@ -143,7 +143,7 @@ SELECT status
return;
}
- $username = $_POST['password'];
+ $username = $_POST['username'];
$password = $_POST['password'];
if(!@get_magic_quotes_gpc())