From 5e68157c560ea4e9dbc5fd9dfab5a5416da2173b Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 09 Feb 2009 02:39:01 -0500
Subject: [PATCH] - Pass static method as array to preg_replace_callback (#1485689)
---
program/include/rcube_vcard.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_vcard.php b/program/include/rcube_vcard.php
index 1c0c383..ce5087a 100644
--- a/program/include/rcube_vcard.php
+++ b/program/include/rcube_vcard.php
@@ -233,7 +233,7 @@
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";
}
--
Gitblit v1.9.1