From 9e1bd556635bbc75f4b8bb5e3586e9fc5a596bf5 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 3 Aug 2016 19:31:38 +1000 Subject: [PATCH] Fix LocBlock Test --- api/v3/LocBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/LocBlock.php b/api/v3/LocBlock.php index 610ee7ab47..0db1cd3492 100644 --- a/api/v3/LocBlock.php +++ b/api/v3/LocBlock.php @@ -45,7 +45,7 @@ */ function civicrm_api3_loc_block_create($params) { $entities = array(); - civicrm_api3_verify_one_mandatory($params, NULL, array('address', 'phone', 'im', 'email')); + civicrm_api3_verify_one_mandatory($params, NULL, array('address', 'address_id', 'phone', 'phone_id', 'im', 'im_id', 'email', 'email_id')); // Call the appropriate api to create entities if any are passed in the params // This is basically chaining but in reverse - we create the sub-entities first // This exists because chainging does not work in reverse, or with keys like 'email_2' -- 2.25.1