Skip to content
Snippets Groups Projects
Commit d0afe458 authored by Prasad's avatar Prasad
Browse files

Merge branch 'task-id-160078737' into 'master'

Fix - Task status is not updating properly in the activity tab and calendar module

See merge request !1247
parents 4a60bed6 5ebfd808
No related branches found
No related tags found
1 merge request!1247Fix - Task status is not updating properly in the activity tab and calendar module
......@@ -183,7 +183,8 @@ class Calendar_SaveAjax_Action extends Vtiger_SaveAjax_Action {
$activityType = $request->get('activitytype');
$visibility = $request->get('visibility');
if(empty($activityType)) {
// set activity type as "Task" when creating or inline editing Task.
if(empty($activityType) || empty($recordModel->get('activitytype'))) {
$recordModel->set('activitytype', 'Task');
$visibility = 'Private';
$recordModel->set('visibility', $visibility);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment