Apache2/Squirrelmail 1.4.23 [SVN] is giving me the following error

[Wed Feb 19 15:37:38.632195 2020] [:error] [pid 955] [client
62.253.230.14:30063] PHP Warning:  preg_replace(): The /e modifier is no
longer supported, use preg_replace_callback instead in
/usr/share/squirrelmail/functions/mime.php on line 716, referer:
http://stockton.co.za/squirrelmail/src/compose.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX&composenew=0&composesession=0&session=1&use_mailbox_cache=0&forward_as_attachment_init=1

Line  716 in /usr/share/squirrelmail/functions/mime.php looks like

$replace = preg_replace('/=([0-9a-f]{2})/ie', 'chr(hexdec("\1"))',$replace);

Please tell me what it should look like.


-- 
Regards,
Alf Stockton








-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to