Cast preset value to string in order to really mark the according option as selected (#863)
This commit is contained in:
parent
1c9e7d2698
commit
c89d6f28ac
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ class calendar extends rcube_plugin
|
|||
$select->add(rcube_label('saturday'), '6');
|
||||
$p['blocks']['view']['options']['first_day'] = array(
|
||||
'title' => html::label($field_id, Q($this->gettext('first_day'))),
|
||||
'content' => $select->show($this->rc->config->get('calendar_first_day', $this->defaults['calendar_first_day'])),
|
||||
'content' => $select->show(strval($this->rc->config->get('calendar_first_day', $this->defaults['calendar_first_day']))),
|
||||
);
|
||||
|
||||
$time_format = $this->rc->config->get('time_format', self::to_php_date_format($this->rc->config->get('calendar_time_format', $this->defaults['calendar_time_format'])));
|
||||
|
|
Loading…
Add table
Reference in a new issue