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

CRM.api defaults get overwritten by each call

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      In rest.js the defaults variable is getting updated by every CRM.api call. This is what happens when we php programmers forget that every object in js is passed by reference...

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              colemanw Coleman Watts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: