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