- bug fixed : in admin/configuration, reset button was a submit button

git-svn-id: http://piwigo.org/svn/trunk@700 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-01-16 23:54:54 +00:00
parent 4cc5cb68e2
commit 8d595674f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ while ($row = mysql_fetch_array($result))
$conf[$row['param']] = $row['value'];
// if the parameter is present in $_POST array (if a form is submited), we
// override it with the submited value
if (isset($_POST[$row['param']]) && !isset($_POST['reset']))
if (isset($_POST[$row['param']]))
{
$conf[$row['param']] = $_POST[$row['param']];
}