commit 7062e78f538be3e620c746907770663bcebdfe30 parent e94adec5cd6eed8ff397feb439526eeb2bfbd67a Author: dankert <devnull@localhost> Date: Sun, 5 Feb 2006 00:19:10 +0100 Benutzen von htmlentities() Diffstat:
themes/default/include/html/text.inc.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/default/include/html/text.inc.php b/themes/default/include/html/text.inc.php @@ -14,7 +14,7 @@ elseif (!empty($attr_text)) $tmp_text = lang($attr_text); elseif (!empty($attr_var)) - $tmp_text = isset($$attr_var)?$$attr_var:'error: variable '.$attr_var.' not present'; + $tmp_text = isset($$attr_var)?htmlentities($$attr_var):'error: variable '.$attr_var.' not present'; elseif (!empty($attr_raw)) $tmp_text = str_replace('_',' ',$attr_raw); else echo 'text error';