small fix time slots settings
This commit is contained in:
parent
42554d2664
commit
22b2822d7c
1 changed files with 3 additions and 1 deletions
|
@ -424,7 +424,9 @@ class calendar extends rcube_plugin
|
|||
$timeslots = $this->rc->config->get('calendar_timeslots', $this->defaults['calendar_timeslots']);
|
||||
|
||||
$select = new html_select(['name' => '_timeslots', 'id' => $field_id]);
|
||||
$select->add($choices);
|
||||
foreach ($choices as $choice) {
|
||||
$select->add($choice, $choice);
|
||||
}
|
||||
|
||||
$p['blocks']['view']['options']['timeslots'] = [
|
||||
'title' => html::label($field_id, rcube::Q($this->gettext('timeslots'))),
|
||||
|
|
Loading…
Reference in a new issue