mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
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:
1 parent
6704632263
commit
86d212f4f1
3 files changed
+5
-5
No files matched your search
@@ -1381,7 +1381,7 @@ INSERT INTO
|
||||
ON DUPLICATE KEY UPDATE value = \''.$dbValue.'\'
|
||||
;';
|
||||
|
||||
pwg_query($query);
|
||||
pwg_query($query, false);
|
||||
|
||||
if ($updateGlobal)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user