curious
[civicrm-core.git] / CRM / Event / DAO / Event.php
index 0b340c956fcc7c1a63f68e52b9c8a31ff310d28a..fe3a66fa99f32e7aeded3bfe8d8136a7ccb445b0 100644 (file)
@@ -686,7 +686,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Participant Listing'),
           'description' => ts('Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.'),
           'where' => 'civicrm_event.participant_listing_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -827,7 +827,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Max Participants'),
           'description' => ts('Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.'),
           'where' => 'civicrm_event.max_participants',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -876,7 +876,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Financial Type'),
           'description' => ts('Financial type assigned to paid event registrations for this event. Required if is_monetary is true.'),
           'where' => 'civicrm_event.financial_type_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -1062,7 +1062,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'where' => 'civicrm_event.confirm_title',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -1241,7 +1241,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'where' => 'civicrm_event.thankyou_title',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -1714,7 +1714,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Parent Event ID'),
           'description' => ts('Implicit FK to civicrm_event: parent event'),
           'where' => 'civicrm_event.parent_event_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -1730,7 +1730,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Subevent Slot Label ID'),
           'description' => ts('Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.'),
           'where' => 'civicrm_event.slot_label_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',
@@ -1746,7 +1746,7 @@ class CRM_Event_DAO_Event extends CRM_Core_DAO {
           'title' => ts('Dedupe Rule ID'),
           'description' => ts('Rule to use when matching registrations for this event'),
           'where' => 'civicrm_event.dedupe_rule_group_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_event',
           'entity' => 'Event',
           'bao' => 'CRM_Event_BAO_Event',