diff program/lib/Roundcube/rcube_vcard.php @ 27:c32b53434b47

more compensation for deprecated empty cases
author Charlie Root
date Sun, 18 Jan 2026 14:20:29 -0500
parents bea5a38be938
children
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_vcard.php	Sat Oct 18 12:24:31 2025 -0400
+++ b/program/lib/Roundcube/rcube_vcard.php	Sun Jan 18 14:20:29 2026 -0500
@@ -544,7 +544,7 @@
         // convert Apple X-ABRELATEDNAMES into X-* fields for better compatibility
         $vcard = preg_replace_callback(
             '/item(\d+)\.(X-ABRELATEDNAMES)([^:]*?):(.*?)item\1.X-ABLabel:(?:_\$!<)?([\w\-() ]*)(?:>!\$_)?./s',
-            array('self', 'x_abrelatednames_callback'),
+            array('rcube_vcard', 'x_abrelatednames_callback'),
             $vcard);
 
         // Cleanup