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

Invalid if statements check for = not ==

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.13, 4.3.1, 4.4.4
    • Fix Version/s: 4.5
    • Component/s: CiviEvent
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      CRM/Report/Form/Event/ParticipantListing.php
      if ($value = $row['civicrm_participant_event_id']) {
      if ($value = $row['civicrm_event_event_type_id']) {
      if ($value = $row['civicrm_participant_status_id']) {
      if ($value = $row['civicrm_participant_role_id']) {
      if ($value = $row['civicrm_participant_participant_fee_level']) {
      if ($value = $row['civicrm_address_country_id']) {
      if ($value = $row['civicrm_address_state_province_id']) {
      if ($value = $row['civicrm_contact_employer_id']) {

      Array declaration that contain text character variables or values without quotations:
      array('localize' => TRUE));

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              johnff John Kirk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: