[imp] typo in imp/lib/MIME/Viewer/html.php

amith at xalan.com amith at xalan.com
Thu Mar 27 12:41:22 PST 2003


patch to add the missing () to getFromAddress

-------------- next part --------------
Index: imp/lib/MIME/Viewer/html.php
===================================================================
RCS file: /repository/imp/lib/MIME/Viewer/html.php,v
retrieving revision 1.40
diff -u -r1.40 html.php
--- imp/lib/MIME/Viewer/html.php        18 Mar 2003 23:51:55 -0000      1.40
+++ imp/lib/MIME/Viewer/html.php        27 Mar 2003 17:32:26 -0000
@@ -216,7 +216,7 @@
         $sources = $registry->call('contacts/sources');

         /* Try to get back a result from the search. */
-        $result = $registry->call('contacts/getField', array($contents->getFromAddress, '__key', array_keys($sources)));
+        $result = $registry->call('contacts/getField', array($contents->getFromAddress(), '__key', array_keys($sources)));

         if (is_a($result, 'PEAR_Error')) {
             return false;


More information about the imp mailing list