Avoid syntax error, thanks Ulle.

This commit is contained in:
Nathan Gray 2015-08-04 14:26:00 +00:00
parent b5b6784ec1
commit adc69060c8

View File

@ -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))
{