Skip to content

Commit

Permalink
Updated getKeys to match core.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnFF committed Oct 9, 2017
1 parent 11a67e8 commit 97488fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/v3/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 97488fe

Please sign in to comment.