summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-02-09 07:39:01 +0000
committeralecpl <alec@alec.pl>2009-02-09 07:39:01 +0000
commit5e68157c560ea4e9dbc5fd9dfab5a5416da2173b (patch)
tree04424f0fa585000805aa39e22a4d430a6d8c8103 /program
parent21b160f38c98bf41ebc843e7639b5b1af588b489 (diff)
- Pass static method as array to preg_replace_callback (#1485689)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_vcard.php2
1 files changed, 1 insertions, 1 deletions
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";
}