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

Syntax checker found what looks like BUG

    Details

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

      Description

      My syntax checker is complaining about this line in file CRM_Contribute_BAO_Contribution saying 'assignment in condition'

      if ($componentName = 'event')

      { $componentDetails['participant'] = $componentId; }

      I'm not working on this code & don't know what it does but it looks very much to me like it is an error that it doesn't have the double '=='

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: