From d3110dfdf3eea96f36220e458727b987f741db3d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 Apr 2009 12:48:46 +0000 Subject: [PATCH] "fixing the fix ;-) addslashes does to much --> now quoting only quotes" --- etemplate/inc/class.boetemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {