diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 6bd0cade8f..fcceb02e2a 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -2561,7 +2561,7 @@ class calendar_uiforms extends calendar_ui // we do not allow dragging into another users calendar ATM if($targetOwner < 0) { - $targetOwner = [$targetOwner]; + $targetOwner = array($targetOwner); } if($calendarOwner !== $targetOwner && !is_array($targetOwner)) {