From 97488fea4a47bbbb71c4c91a5abfb3d37a6c9485 Mon Sep 17 00:00:00 2001 From: John Kirk Date: Mon, 9 Oct 2017 21:20:52 +0000 Subject: [PATCH] Updated getKeys to match core. --- api/v3/Extension.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/v3/Extension.php b/api/v3/Extension.php index 9e5fcf1c2e..3b9378e6c8 100644 --- a/api/v3/Extension.php +++ b/api/v3/Extension.php @@ -421,5 +421,7 @@ function _civicrm_api3_getKeys($params, $key = 'keys') { } return explode(API_V3_EXTENSION_DELIMITER, $params[$key]); } - throw new API_Exception("Missing required parameter: key, keys, or path"); + else { + return array(); + } } -- 2.25.1