Commit 97488fea authored by John Kirk's avatar John Kirk

Updated getKeys to match core.

parent 11a67e8e
......@@ -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();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment