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

Event registration end date should not be allowed to be before registration start date

    Details

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

      Description

      Added an extra rule for this on CRM/Event/Form/ManageEvent/EventInfo.php at line 460:

      $start = CRM_Utils_Date::processDate($values['registration_start_date']);
      $end = CRM_Utils_Date::processDate($values['registration_end_date']);
      if ($start > 0 && $end > 0 && $end <= $start)

      { $errorMsg['registration_end_date'] = ts('Registration end date should be after Registration start date'); }

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              weseze Wesley Sandra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: