Commit 3cd0b3eb authored by Alexander Butenko's avatar Alexander Butenko

replacePlaceHolders: return string as is if no $vals is empty

parent d4120c66
......@@ -1341,6 +1341,9 @@ class MysqliDb
$i = 1;
$newStr = "";
if (empty ($vals))
return $str;
while ($pos = strpos ($str, "?")) {
$val = $vals[$i++];
if (is_object ($val))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment