Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17297

wrapping api params in additional array() causes infinite recursion

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 4.6.8
    • Fix Version/s: None
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Accidentally wrapping api params in an additional array causes the api call to never return:

      print "starting";
      civicrm_api3('UFJoin','create',array($params));
      print "finished";

      output:
      starting
      ... (what happened?)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jakecivi Jake Wise
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified