X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FPreferencesDate.php;h=c12bd0f1a347647fe56385291847ade703cf9140;hb=68383a402e0b8365c7c50e5304f746a2a9bfb5a7;hp=16bda9e6ca548dfcfcfc7f2633cd207303f180ce;hpb=a969ba2b3fc64eebf12a98e3bfc69212d832ee19;p=civicrm-core.git diff --git a/CRM/Admin/Form/PreferencesDate.php b/CRM/Admin/Form/PreferencesDate.php index 16bda9e6ca..c12bd0f1a3 100644 --- a/CRM/Admin/Form/PreferencesDate.php +++ b/CRM/Admin/Form/PreferencesDate.php @@ -1,7 +1,7 @@ controller->exportValues($this->_name); // action is taken depending upon the mode - $dao = new CRM_Core_DAO_PreferencesDate(); - $dao->id = $this->_id; + $dao = new CRM_Core_DAO_PreferencesDate(); + $dao->id = $this->_id; $dao->description = $params['description']; - $dao->start = $params['start']; - $dao->end = $params['end']; + $dao->start = $params['start']; + $dao->end = $params['end']; $dao->date_format = $params['date_format']; $dao->time_format = $params['time_format']; $dao->save(); CRM_Core_Session::setStatus(ts("The date type '%1' has been saved.", - array(1 => $params['name']) - ), ts('Saved'), 'success'); + array(1 => $params['name']) + ), ts('Saved'), 'success'); } }