ereg is deprecated.

This commit is contained in:
Richard Heck 2013-05-23 08:57:20 -04:00
parent ca34a9308f
commit a832cd2842

View File

@ -160,7 +160,7 @@ if (isset($email) && $email != "") {
} else
$output=$output. "<dt><b>${name}</b>";
$msg = ereg_replace("\\n *", "\\n ", ltrim($msg));
$msg = preg_replace("/\\n */", "\\n ", ltrim($msg));
$output=$output. "
</dt>