mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 09:22:21 +02:00
- 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:
@@ -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']];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user