$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);
}
}