Merge pull request #22326 from totten/master-sqlpara
[civicrm-core.git] / CRM / Price / DAO / LineItem.php
index 98bae25c61ffaa275a7faf82235d3add4bfcdc8f..4255cffa277b9c7227cfd47f1fd51e2b31b31981 100644 (file)
@@ -275,7 +275,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'where' => 'civicrm_line_item.label',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_line_item',
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
@@ -349,7 +349,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'title' => ts('Line Item Participant Count'),
           'description' => ts('Participant count for field'),
           'where' => 'civicrm_line_item.participant_count',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_line_item',
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
@@ -365,7 +365,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'title' => ts('Option ID'),
           'description' => ts('FK to civicrm_price_field_value'),
           'where' => 'civicrm_line_item.price_field_value_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_line_item',
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
@@ -388,7 +388,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'title' => ts('Financial Type ID'),
           'description' => ts('FK to Financial Type.'),
           'where' => 'civicrm_line_item.financial_type_id',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_line_item',
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',
@@ -457,7 +457,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO {
           'title' => ts('Number of membership terms purchased'),
           'description' => ts('Number of terms for this membership (only supported in Order->Payment flow). If the field is NULL it means unknown and it will be assumed to be 1 during payment.create if entity_table is civicrm_membership'),
           'where' => 'civicrm_line_item.membership_num_terms',
-          'default' => 'NULL',
+          'default' => NULL,
           'table_name' => 'civicrm_line_item',
           'entity' => 'LineItem',
           'bao' => 'CRM_Price_BAO_LineItem',