diff --git a/modules/Calendar/actions/DragDropAjax.php b/modules/Calendar/actions/DragDropAjax.php index f266a5b9f23455e577d3d7024a5a6de1c81a3e1e..51469d0ba2ac3c15ed0e020d96fb80c900ea6dc2 100755 --- a/modules/Calendar/actions/DragDropAjax.php +++ b/modules/Calendar/actions/DragDropAjax.php @@ -267,7 +267,7 @@ class Calendar_DragDropAjax_Action extends Calendar_SaveAjax_Action { $resultDateTime = $this->changeDateTime($oldEndDateTime,$dayDelta,$minuteDelta,$secondsDelta); $parts = explode(' ',$resultDateTime); $record->set('due_date',$parts[0]); - if($activitytype != 'Task') { + if($activityType != 'Task') { $record->set('time_end',$parts[1]); }