Fix #5 - return api3 result as array
1 unresolved thread
1 unresolved thread
I think this will fix the issue, as api3 is expecting $results to be an array not an APIv4 object.
I think this will fix the issue, as api3 is expecting $results to be an array not an APIv4 object.
11 | 11 | function civicrm_api3_job_firewall_cleanup($params) { |
12 | 12 | $results = []; |
13 | 13 | |
14 | if ($params['delete_old'] !== 0 && !empty($params['delete_old'])) { | |
14 | if (!empty($params['delete_old'])) { | |
merged