fixes #1292 ability to avoid the reserved words escape in pwg_query

Useful for conf_update_param because we don't want any modification in the config.value and we know we won't use the reserved words in the SQL.
This commit is contained in:
plegall
2021-01-21 16:10:36 +01:00
parent 6704632263
commit 86d212f4f1
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1381,7 +1381,7 @@ INSERT INTO
ON DUPLICATE KEY UPDATE value = \''.$dbValue.'\'
;';
pwg_query($query);
pwg_query($query, false);
if ($updateGlobal)
{