Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.10, 4.7.29
-
Fix Version/s: 4.7.31
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
When no result is found when searching for a contact to be mailed a red 'loading failed' message is shown instead of saying that no result was found.
Additionally a notice shows up in the log:
Notice: Undefined variable: result in CRM_Contact_Page_AJAX::getContactEmail() (line 446 of /var/www/drupal/sites/all/modules/civicrm/CRM/Contact/Page/AJAX.php).
The same applies to sending a SMS via the Outbound SMS action.