diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-02-09 07:39:01 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-02-09 07:39:01 +0000 |
| commit | 86f61c93eb9c3a35be982028a850df35636b0518 (patch) | |
| tree | fe4379c94ac182dfd926a31900c7ad1d97772505 /roundcubemail/program | |
| parent | 62f546df0f22a2c3d452250fafdc03b993ee2c4d (diff) | |
- Pass static method as array to preg_replace_callback (#1485689)
git-svn-id: https://svn.roundcube.net/trunk@2283 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_vcard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_vcard.php b/roundcubemail/program/include/rcube_vcard.php index 1c0c38335..ce5087a0f 100644 --- a/roundcubemail/program/include/rcube_vcard.php +++ b/roundcubemail/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"; } |
