Skip to content
Snippets Groups Projects
Commit 7b6daaa8 authored by Alan Bell's avatar Alan Bell
Browse files

fix #2 allow projects to show up on the calendar

parent f512f261
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ class Calendar_Feed_Action extends Vtiger_BasicAjax_Action {
$user = Users_Record_Model::getCurrentUserModel();
$userAndGroupIds = array_merge(array($user->getId()),$this->getGroupsIdsForUsers($user->getId()));
$params = array($start,$end,$start);
$params = array_merge($params, $userAndGroupIds);
$params = array_merge($userAndGroupIds, $params);
$query = "SELECT projectname, startdate, targetenddate, crmid FROM vtiger_project";
$query.= " INNER JOIN vtiger_crmentity ON vtiger_project.projectid = vtiger_crmentity.crmid";
......@@ -392,4 +392,4 @@ class Calendar_Feed_Action extends Vtiger_BasicAjax_Action {
}
}
}
\ No newline at end of file
}
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