alecpl
2009-02-09 5e68157c560ea4e9dbc5fd9dfab5a5416da2173b
- Pass static method as array to preg_replace_callback (#1485689)


1 files modified
2 ■■■ changed files
program/include/rcube_vcard.php 2 ●●● patch | view | raw | blame | history
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";
  }