forked from extern/egroupware
* Calendar - Fix selected owner goes missing on logout
This commit is contained in:
parent
6c2a6511d8
commit
9a61c16181
@ -559,7 +559,7 @@ class calendar_ui
|
|||||||
if (!is_array($cont)) $cont = array();
|
if (!is_array($cont)) $cont = array();
|
||||||
$cont['view'] = $this->view ? $this->view : 'week';
|
$cont['view'] = $this->view ? $this->view : 'week';
|
||||||
$cont['date'] = $this->date ? $this->date : new Api\DateTime();
|
$cont['date'] = $this->date ? $this->date : new Api\DateTime();
|
||||||
$cont['owner'] = $this->owner ? $this->owner : $cont['owner'];
|
$cont['owner'] = $this->owner ? (is_array($this->owner) ? $this->owner : explode(',',$this->owner) ) : $cont['owner'];
|
||||||
|
|
||||||
$cont['year'] = (int)Api\DateTime::to($cont['date'],'Y');
|
$cont['year'] = (int)Api\DateTime::to($cont['date'],'Y');
|
||||||
$cont['holidays'] = $this->bo->read_holidays($cont['year']);
|
$cont['holidays'] = $this->bo->read_holidays($cont['year']);
|
||||||
|
Loading…
Reference in New Issue
Block a user