Skip to content
Snippets Groups Projects
Commit 1dba8e04 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: syntax error

parent 164d4365
No related branches found
No related tags found
No related merge requests found
......@@ -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.='";';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment