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
@@ -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;