projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding of network advert types partly finished, hard-coded table type fixed to dynamic
[mailer.git]
/
inc
/
db
/
lib-mysql3.php
diff --git
a/inc/db/lib-mysql3.php
b/inc/db/lib-mysql3.php
index 14a4b6f9cc8cc5078b1a625c018ffa1f84806066..ab53b7041b94b2a85a1aff213e561a91bb5aa69b 100644
(file)
--- a/
inc/db/lib-mysql3.php
+++ b/
inc/db/lib-mysql3.php
@@
-74,8
+74,9
@@
function SQL_QUERY ($sqlString, $F, $L) {
// Replace {PER}
$sqlString = str_replace('{PER}', '%', $sqlString);
// Replace {PER}
$sqlString = str_replace('{PER}', '%', $sqlString);
- // Compile config out
- $sqlString = FILTER_COMPILE_CONFIG($sqlString, true);
+ // Compile config entries out
+ $eval = "\$sqlString = \"".FILTER_COMPILE_CONFIG(escapeQuotes($sqlString))."\";";
+ eval($eval);
// Starting time
$querytimeBefore = microtime(true);
// Starting time
$querytimeBefore = microtime(true);