From: Patrick Canterino Date: Mon, 12 Dec 2011 21:04:08 +0000 (+0000) Subject: Dieses htmlspecialchars() macht dann doch keinen Sinn X-Git-Tag: 3.5~46 X-Git-Url: https://git.p6c8.net/form-email.git/commitdiff_plain/9f389a70766ec9ad8f355b41dfe5aecae34c626f Dieses htmlspecialchars() macht dann doch keinen Sinn --- diff --git a/form-email/functions.php b/form-email/functions.php index 2374b7b..331bd55 100644 --- a/form-email/functions.php +++ b/form-email/functions.php @@ -111,7 +111,7 @@ function show_fatal(&$errmsg,$vars=array()) { if(sizeof($vars) > 0) { while(list($var,$content) = each($vars)) { - $errmsg = str_replace('{'.htmlspecialchars($var).'}',htmlspecialchars($content),$errmsg); + $errmsg = str_replace('{'.$var.'}',htmlspecialchars($content),$errmsg); } }