]> git.p6c8.net - form-email.git/commitdiff
Dieses htmlspecialchars() macht dann doch keinen Sinn
authorPatrick Canterino <patrick@patshaping.de>
Mon, 12 Dec 2011 21:04:08 +0000 (21:04 +0000)
committerPatrick Canterino <patrick@patshaping.de>
Mon, 12 Dec 2011 21:04:08 +0000 (21:04 +0000)
form-email/functions.php

index 2374b7bcc6066fd1338605927b679cdbcaa7420e..331bd555f0ba74fa258d3a469d42e83c4eeb4319 100644 (file)
@@ -111,7 +111,7 @@ function show_fatal(&$errmsg,$vars=array()) {
 \r
     if(sizeof($vars) > 0) {\r
         while(list($var,$content) = each($vars)) {\r
 \r
     if(sizeof($vars) > 0) {\r
         while(list($var,$content) = each($vars)) {\r
-            $errmsg = str_replace('{'.htmlspecialchars($var).'}',htmlspecialchars($content),$errmsg);\r
+            $errmsg = str_replace('{'.$var.'}',htmlspecialchars($content),$errmsg);\r
         }\r
     }\r
 \r
         }\r
     }\r
 \r

patrick-canterino.de