修正PDO参数绑定的一处BUG

This commit is contained in:
thinkphp
2016-01-20 19:13:03 +08:00
parent a17080244e
commit 6d8191d63c
6 changed files with 12 additions and 18 deletions

View File

@@ -100,7 +100,7 @@ class Pgsql extends Driver
* @param string $key
* @return string
*/
protected function parseKey(&$key)
protected function parseKey($key)
{
$key = trim($key);
if (strpos($key, '$.') && false === strpos($key, '(')) {