Fixed missing class include for task duplication

This commit is contained in:
Raphaël Doursenaud 2014-09-08 16:13:29 +02:00
parent c5ccf2998b
commit 367d225d3e

View File

@ -1146,6 +1146,8 @@ class Project extends CommonObject
//Duplicate task //Duplicate task
if ($clone_task) if ($clone_task)
{ {
require_once DOL_DOCUMENT_ROOT . '/projet/class/task.class.php';
$taskstatic = new Task($this->db); $taskstatic = new Task($this->db);
// Security check // Security check