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

civicrm_event.max_participants should default NULL to match program logic

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When you input a form, the form code manually sets max_participants to NULL, however if you use the API and omit this key, this logical default is not used and the field is instead set to 0 (The default in MySQL). To keep things consistent (and to avoid confusion about events that can't have participants) this patch adjusts the default in the table definition.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: