[dev] [patch] Text_Filter_emails fix

Jason M. Felice jfelice at cronosys.com
Tue Nov 25 05:13:55 PST 2003


... should be self explanatory.  Wicked rocks, by the way.

-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302
-------------- next part --------------
Index: lib/Text/Filter/emails.php
===================================================================
RCS file: /repository/horde/lib/Text/Filter/emails.php,v
retrieving revision 1.2
diff -u -r1.2 emails.php
--- lib/Text/Filter/emails.php	11 Nov 2003 02:31:25 -0000	1.2
+++ lib/Text/Filter/emails.php	25 Nov 2003 13:14:38 -0000
@@ -43,7 +43,7 @@
         if ($registry->hasMethod('mail/compose') && empty($params['always_mailto'])) {
             return array('regexp' => array('/(?<=\s)(?:mailto:)?([A-Z0-9]+@[A-Z0-9.]+)/ie' =>
                                            '\'<a class="pagelink" href="\'' .
-                                           ' . $registry->call(\'mail/compose\', array(\'$1\')) . \'">' .
+                                           ' . $GLOBALS[\'registry\']->call(\'mail/compose\', array(\'$1\')) . \'">' .
                                            '$0</a>\''));
         } else {
             /* Otherwise, generate a standard mailto: and let the


More information about the dev mailing list