Fix Fatal error Call to protected method quoteValue

This commit is contained in:
RainLoop Team 2013-12-11 19:12:46 +04:00
parent 0358827835
commit db2847d3a3

View file

@ -255,7 +255,7 @@ abstract class PdoAbstract
* *
* @return string * @return string
*/ */
protected function quoteValue($sValue) public function quoteValue($sValue)
{ {
$oPdo = $this->getPDO(); $oPdo = $this->getPDO();
return $oPdo ? $oPdo->quote((string) $sValue, \PDO::PARAM_STR) : '\'\''; return $oPdo ? $oPdo->quote((string) $sValue, \PDO::PARAM_STR) : '\'\'';