From cb576d9b856ef4f7cdef18b16173cadeab116ab8 Mon Sep 17 00:00:00 2001
From: Uma <uma.s@vtiger.com>
Date: Mon, 8 Jun 2020 16:59:40 +0530
Subject: [PATCH] Fixes #1295 Signature warnings and undefined constant

---
 modules/Calendar/actions/DragDropAjax.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Calendar/actions/DragDropAjax.php b/modules/Calendar/actions/DragDropAjax.php
index f266a5b9f..51469d0ba 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]);
 					}
 
-- 
GitLab