diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index 7519c3239..50348f029 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -1012,15 +1012,15 @@ function conf_update_param($param, $value) $query = ' DELETE FROM '.CONFIG_TABLE.' - WHERE param = "'.$param.'" + WHERE param = \''.$param.'\' ;'; pwg_query($query); $query = ' INSERT INTO '.CONFIG_TABLE.' - SET param = "'.$param.'" - , value = "'.$value.'" + (param, value) + VALUES(\''.$param.'\', \''.$value.'\') ;'; pwg_query($query); } |