Fix undefined error for Outlook style addresses
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Jul 2010 22:19:31 +0000 (16:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 23 Jul 2010 22:19:31 +0000 (16:19 -0600)
framework/Core/lib/Horde/Core/Text/Filter/Emails.php

index 30ff3c9..065b807 100644 (file)
@@ -50,7 +50,7 @@ class Horde_Core_Text_Filter_Emails extends Horde_Text_Filter_Emails
             return parent::_regexCallback($matches);
         }
 
-        if ($matches[10] === '') {
+        if (!isset($matches[10]) || ($matches[10] === '')) {
             $args = $matches[7];
             $email = $matches[3];
             $args_long = $matches[5];