diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 3648e7a60e..1bcfa9e9b6 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -166,7 +166,7 @@ class boetemplate extends soetemplate $row_cont = $cont[$row]; $col_row_cont = $cont[$col.$row]; - eval('$name = "'.addslashes($name).'";'); + eval('$name = "'.str_replace('"','\\"',$name).'";'); } if ($is_index_in_content) {