Skip to content
Snippets Groups Projects

Fix #5 - return api3 result as array

Fix #5 - return api3 result as array
1 unresolved thread
Merged colemanw requested to merge colemanw-master-patch-68360 into master
1 unresolved thread

I think this will fix the issue, as api3 is expecting $results to be an array not an APIv4 object.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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

  • mattwire mentioned in commit fe945c72

    mentioned in commit fe945c72

  • Please register or sign in to reply
    Loading