[limb-svn] r6945 - 3.x/trunk/limb/dbal/src/drivers/mysqli
svn at limb-project.com
svn at limb-project.com
Tue Apr 22 13:04:06 MSD 2008
Author: korchasa
Date: 2008-04-22 13:04:06 +0400 (Tue, 22 Apr 2008)
New Revision: 6945
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6945
Modified:
3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliStatement.class.php
Log:
-- fix for right string escaping
Modified: 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliStatement.class.php
===================================================================
--- 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliStatement.class.php 2008-04-22 05:12:34 UTC (rev 6944)
+++ 3.x/trunk/limb/dbal/src/drivers/mysqli/lmbMysqliStatement.class.php 2008-04-22 09:04:06 UTC (rev 6945)
@@ -102,14 +102,14 @@
{
$this->parameters[$name] = is_null($value) ?
'null' :
- "'" . mysqli_real_escape_string($this->connection->getConnectionId(), (string) $value) . "'";
+ "'" . $this->_escape_string((string) $value) . "'";
}
function setClob($name, $value)
{
$this->parameters[$name] = is_null($value) ?
'null' :
- "'" . mysqli_real_escape_string((string) $value) . "'";
+ "'" . $this->_escape_string((string) $value) . "'";
}
protected function _escape_string($string)
More information about the limb-svn
mailing list