From 0077befe251d2177574ee1d415aa272b69baa4bc Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 12 Nov 2015 15:42:14 +0000 Subject: [PATCH] Fix drag and drop of non-blocking event makes it blocking event --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 12c1250080..92daddee18 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -2649,7 +2649,7 @@ class calendar_uiforms extends calendar_ui } // Drag a whole day to a time - if($duration && $durationT != 'whole_day') + if($durationT && $durationT != 'whole_day') { $event['whole_day'] = ($duration == DAY_s); $event['non_blocking'] = false;