mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +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:
@@ -61,7 +61,7 @@ function pwg_get_db_version()
|
||||
return mysql_get_server_info();
|
||||
}
|
||||
|
||||
function pwg_query($query)
|
||||
function pwg_query($query, $escape_reserved_words=true)
|
||||
{
|
||||
global $conf,$page,$debug,$t2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user