diff --git a/etemplate/inc/class.boetemplate.inc.php b/etemplate/inc/class.boetemplate.inc.php index 93ec85cbc2..e392d4cf7a 100644 --- a/etemplate/inc/class.boetemplate.inc.php +++ b/etemplate/inc/class.boetemplate.inc.php @@ -153,7 +153,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) {