Update index.php

delete double entry:  $taskstatic = new Task($db);
This commit is contained in:
UT from dolibit 2022-08-10 13:37:15 +02:00 committed by GitHub
parent 95b1b3f990
commit a8a107fb37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,6 @@ $month = $tmp['mon'];
$year = $tmp['year'];
$projectstatic = new Project($db);
$taskstatic = new Task($db);
$projectsListId = $projectstatic->getProjectsAuthorizedForUser($user, 0, 1); // Return all projects I have permission on because I want my tasks and some of my task may be on a public projet that is not my project
$taskstatic = new Task($db);
$tasktmp = new Task($db);