aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/configuration.php2
-rw-r--r--template/default/admin/configuration.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index e5ef6f7ce..9b3ca801a 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -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']];
}
diff --git a/template/default/admin/configuration.tpl b/template/default/admin/configuration.tpl
index a0b1a436a..9349c63b7 100644
--- a/template/default/admin/configuration.tpl
+++ b/template/default/admin/configuration.tpl
@@ -205,7 +205,7 @@
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" class="bouton" value="{L_SUBMIT}">
- <input type="submit" name="reset" class="bouton" value="{L_RESET}">
+ <input type="reset" name="reset" class="bouton" value="{L_RESET}">
</td>
</tr>
</table>