X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FEmail.php;h=082c77f910250deae123510aa5eab81c3b04ba3d;hb=655da1f919af8318da84d80422841599c332024d;hp=739ea4b1646831b922eb481553b430db18b60856;hpb=28979d65643a0f0907a0ba20b1cd2cca889d5c2c;p=civicrm-core.git diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index 739ea4b164..082c77f910 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -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',