X-Git-Url: https://git.p6c8.net/form-email.git/blobdiff_plain/9f689ef27a5125ec8e464e24505d3bc44727f8a1..9f389a70766ec9ad8f355b41dfe5aecae34c626f:/form-email/functions.php 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); } }