diff options
-rw-r--r-- | EPDOStatement/EPDOStatement.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/EPDOStatement/EPDOStatement.php b/EPDOStatement/EPDOStatement.php index f185898..8c1df76 100644 --- a/EPDOStatement/EPDOStatement.php +++ b/EPDOStatement/EPDOStatement.php @@ -157,7 +157,10 @@ class EPDOStatement extends PDOStatement } $testParam = "/" . $key . "(?!\w)/"; - $replValue = $this->_prepareValue($replValue); + $replValue = $this->_prepareValue(array( + 'value' => $replValue + , 'datatype' => PDO::PARAM_STR + )); $testQuery = preg_replace($testParam, $replValue, $testQuery, 1); } |