From aca854687d1195e913c1de42aa3d458e119778ff Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 4 Sep 2013 19:25:34 +0530 Subject: [PATCH] notice fix --- api/v3/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 66fabe4588..434e11b01b 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -519,7 +519,7 @@ function civicrm_api3_contact_quicksearch($params) { function civicrm_api3_contact_getquick($params) { civicrm_api3_verify_mandatory($params, NULL, array('name')); - $name = CRM_Utils_Type::escape($params['name'], 'String'); + $name = CRM_Utils_Type::escape(CRM_Utils_Array::value('name', $params), 'String'); // get the autocomplete options from settings $acpref = explode(CRM_Core_DAO::VALUE_SEPARATOR, -- 2.25.1