summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index b0cdf26..a355b28 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -355,7 +355,7 @@ function addrlist_escape($string)
* @param $string Fulle name to be escaped
* @return String to be safely used in "$fullname <$email>" for To: etc.
*/
-function fullname_escape($string)
+static function fullname_escape($string)
{
return '"' . preg_replace('/["\x00-\x1f]/', '', $string) . '"';
}