X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FAddressFormat.php;h=6db05ca4ad455ea9e153cdef318f834324254509;hb=1c46a84c89447841b61043486877a8013ea8ebf7;hp=e1cb8f7061f69820cd41409eb1133ced8f56d191;hpb=fa3cdb8efb79c28c9f425543815556f6cfefe9ac;p=civicrm-core.git diff --git a/CRM/Core/DAO/AddressFormat.php b/CRM/Core/DAO/AddressFormat.php index e1cb8f7061..6db05ca4ad 100644 --- a/CRM/Core/DAO/AddressFormat.php +++ b/CRM/Core/DAO/AddressFormat.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_address_format'; + public static $_tableName = 'civicrm_address_format'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Address Format Id @@ -64,6 +64,7 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO { 'title' => ts('Address Format ID'), 'description' => ts('Address Format Id'), 'required' => TRUE, + 'where' => 'civicrm_address_format.id', 'table_name' => 'civicrm_address_format', 'entity' => 'AddressFormat', 'bao' => 'CRM_Core_DAO_AddressFormat', @@ -74,6 +75,7 @@ class CRM_Core_DAO_AddressFormat extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Address Format'), 'description' => ts('The format of an address'), + 'where' => 'civicrm_address_format.format', 'table_name' => 'civicrm_address_format', 'entity' => 'AddressFormat', 'bao' => 'CRM_Core_DAO_AddressFormat',