Fix typo
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 12 Dec 2008 20:32:57 +0000 (13:32 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 15 Dec 2008 18:37:20 +0000 (11:37 -0700)
imp/lib/Mime/Viewer/html.php

index 0c85fab..d49c6ee 100644 (file)
@@ -287,7 +287,7 @@ class IMP_Horde_Mime_Viewer_html extends Horde_Mime_Viewer_html
         $headers = $this->_params['contents']->getHeaderOb();
 
         /* Try to get back a result from the search. */
-        $rest = $GLOBALS['registry']->call('contacts/getField', array(Horde_Mime_Address::bareAddress($headers->getValue('from')), '__key', $params['sources'], false, true));
+        $res = $GLOBALS['registry']->call('contacts/getField', array(Horde_Mime_Address::bareAddress($headers->getValue('from')), '__key', $params['sources'], false, true));
         return is_a($res, 'PEAR_Error') ? false : count($res);
     }
 }