Merge pull request #23961 from totten/master-mgdphp-caseacttype
[civicrm-core.git] / CRM / Core / DAO / Email.php
index 739ea4b1646831b922eb481553b430db18b60856..082c77f910250deae123510aa5eab81c3b04ba3d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2a48ebd09a4f1de290856c1e7315ce69)
+ * (GenCodeChecksum:58fe115e0962f83c3906bce5f663f0fc)
  */
 
 /**
@@ -83,7 +83,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
   /**
    * Is this the primary email address
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -92,7 +92,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
   /**
    * Is this the billing?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -273,6 +273,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary email'),
           'description' => ts('Is this the primary email address'),
+          'required' => TRUE,
           'where' => 'civicrm_email.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_email',
@@ -289,6 +290,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Billing Email?'),
           'description' => ts('Is this the billing?'),
+          'required' => TRUE,
           'where' => 'civicrm_email.is_billing',
           'default' => '0',
           'table_name' => 'civicrm_email',