X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FPreferences%2FDisplay.php;h=503582934d408f697d696ffe3fd0eb11049e3989;hb=7af8604cc04e13b5dc4220ad16cb4eb21d2b9b23;hp=0c79ba3e630d7e0f0fbac293d9d221082a1fba09;hpb=9c720dada0eae443d2c96c502dd4c4c73be65471;p=civicrm-core.git diff --git a/CRM/Admin/Form/Preferences/Display.php b/CRM/Admin/Form/Preferences/Display.php index 0c79ba3e63..503582934d 100644 --- a/CRM/Admin/Form/Preferences/Display.php +++ b/CRM/Admin/Form/Preferences/Display.php @@ -1,7 +1,7 @@ _config->editor_id) { - $defaults['editor_id'] = $this->_config->editor_id; - } if ($this->_config->display_name_format) { $defaults['display_name_format'] = $this->_config->display_name_format; } @@ -133,13 +130,12 @@ class CRM_Admin_Form_Preferences_Display extends CRM_Admin_Form_Preferences { * @return void */ public function buildQuickForm() { - $wysiwyg_options = CRM_Core_OptionGroup::values('wysiwyg_editor'); + $wysiwyg_options = CRM_Core_OptionGroup::values('wysiwyg_editor', FALSE, FALSE, FALSE, NULL, 'label', TRUE, FALSE, 'name'); //changes for freezing the invoices/credit notes checkbox if invoicing is uncheck $invoiceSettings = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::CONTRIBUTE_PREFERENCES_NAME, 'contribution_invoice_settings'); $invoicing = CRM_Utils_Array::value('invoicing', $invoiceSettings); $this->assign('invoicing', $invoicing); - $config = CRM_Core_Config::singleton(); $extra = array(); $this->addElement('select', 'editor_id', ts('WYSIWYG Editor'), $wysiwyg_options, $extra);