mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix type error happens when trying to save an event.
This commit is contained in:
parent
b5a669fe1d
commit
fe9c7dd372
@ -642,12 +642,12 @@ class calendar_ui
|
|||||||
*
|
*
|
||||||
* @param int $event_id
|
* @param int $event_id
|
||||||
* @param Api\DateTime $recurrence_date
|
* @param Api\DateTime $recurrence_date
|
||||||
* @param array $old_event
|
* @param array|bool|int|null $old_event
|
||||||
*
|
*
|
||||||
* @return boolean True if the event was updated, false if it could not be
|
* @return boolean True if the event was updated, false if it could not be
|
||||||
* updated or was removed.
|
* updated or was removed.
|
||||||
*/
|
*/
|
||||||
public function update_client($event_id, Api\DateTime $recurrence_date = null, array $old_event = array())
|
public function update_client($event_id, Api\DateTime $recurrence_date = null, $old_event = array())
|
||||||
{
|
{
|
||||||
if(!$event_id)
|
if(!$event_id)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user