From 5c94d4835b87e0cf0b83717e00bc983b5ac93d23 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 12 Dec 2008 13:32:57 -0700 Subject: [PATCH] Fix typo --- imp/lib/Mime/Viewer/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Mime/Viewer/html.php b/imp/lib/Mime/Viewer/html.php index 0c85fab64..d49c6ee02 100644 --- a/imp/lib/Mime/Viewer/html.php +++ b/imp/lib/Mime/Viewer/html.php @@ -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); } } -- 2.11.0