Skip to content
Snippets Groups Projects
Commit df28f09e authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

#1063558: accidental global variable fixed

parent 49da3610
No related branches found
No related tags found
No related merge requests found
......@@ -4068,7 +4068,7 @@ SqlUtils.replaceConditionTemplate = function(pCondition, pPlaceholder, pReplacem
---------------------
*/
//use replaceAll because it's faster and supports negative lookbehinds
replacements = {};
var replacements = {};
//manually readd the replaced backslashes by using a group reference, because they a part of the match and therefore replaced by "replaceAll"
//since the field COULD contain already a group reference (I think this is extremely uncommon;
//probably that never happens but better stay save): escape that references within the fieldname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment