aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/configuration.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/configuration.php b/admin/configuration.php
index 6db69fa1c..2a11a1ea0 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -99,7 +99,8 @@ $result = mysql_query('SELECT param,value FROM '.CONFIG_TABLE);
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']]))
{
$conf[$row['param']] = $_POST[$row['param']];