mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-03 23:43:20 +02: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:
@@ -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