diff --git a/calendar/inc/class.calendar_merge.inc.php b/calendar/inc/class.calendar_merge.inc.php index 69f8031ee7..d098675908 100644 --- a/calendar/inc/class.calendar_merge.inc.php +++ b/calendar/inc/class.calendar_merge.inc.php @@ -121,7 +121,7 @@ class calendar_merge extends Api\Storage\Merge */ function merge_string($content,$ids,$err,$mimetype,$fix) { - $ids = $this->validate_ids($ids, $content); + $ids = $this->validate_ids((array)$ids, $content); return parent::merge_string($content, $ids, $err, $mimetype,$fix); }