From a37310818526cdb47e144921b9efd7e0675710f8 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 9 Feb 2021 07:57:50 +0100 Subject: Mark static function as such --- it_mail.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) . '"'; } -- cgit v1.2.3