From 5e68157c560ea4e9dbc5fd9dfab5a5416da2173b Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 9 Feb 2009 07:39:01 +0000 Subject: - Pass static method as array to preg_replace_callback (#1485689) --- program/include/rcube_vcard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php index 1c0c38335..ce5087a0f 100644 --- a/program/include/rcube_vcard.php +++ b/program/include/rcube_vcard.php @@ -233,7 +233,7 @@ class rcube_vcard private static function rfc2425_fold($val) { - return preg_replace_callback('/:([^\n]{72,})/', 'self::rfc2425_fold_callback', $val) . "\n"; + return preg_replace_callback('/:([^\n]{72,})/', array('self', 'rfc2425_fold_callback'), $val) . "\n"; } -- cgit v1.2.3