Fix: syntax error

This commit is contained in:
Laurent Destailleur 2011-02-14 21:44:23 +00:00
parent 164d4365b4
commit 1dba8e0465

View File

@ -240,7 +240,7 @@ foreach($property as $key => $prop)
elseif ($prop['ischar'])
{
$varprop.='".(! isset($this->'.$prop['field'].')?\'NULL\':"\'".';
$varprop.="$this->db->escape(\$this->".$prop['field'].")";
$varprop.='$this->db->escape($this->'.$prop['field'].')';
$varprop.='."\'")."';
if ($i < sizeof($property)) $varprop.=",";
$varprop.='";';