X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FPreferencesDate.php;h=8efba4a425bcb8c9112c46f013b9aeeca9f5dee5;hb=e3a363809875b227257e2247d43ed96115817c65;hp=1223878f983188962e1dc63deb6d46a9a887eaea;hpb=6a4880350680e1e4d20e5c8a622a791f926ca750;p=civicrm-core.git diff --git a/CRM/Admin/Form/PreferencesDate.php b/CRM/Admin/Form/PreferencesDate.php index 1223878f98..8efba4a425 100644 --- a/CRM/Admin/Form/PreferencesDate.php +++ b/CRM/Admin/Form/PreferencesDate.php @@ -1,9 +1,9 @@ add('text', 'start', ts('Start Offset'), $attributes['start'], TRUE); $this->add('text', 'end', ts('End Offset'), $attributes['end'], TRUE); - $formatType = CRM_Core_Dao::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name'); + $formatType = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name'); if ($formatType == 'creditCard') { $this->add('text', 'date_format', ts('Format'), $attributes['date_format'], TRUE); @@ -113,7 +113,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form { * * @access public * - * @return None + * @return void */ public function postProcess() { if (!($this->_action & CRM_Core_Action::UPDATE)) {