|
@@ -324,7 +324,7 @@ if ($object->id > 0) {
|
|
|
$param .= '&withproject=1';
|
|
|
}
|
|
|
$modulepart = 'project_task';
|
|
|
- $permission = $user->rights->projet->creer;
|
|
|
+ $permissiontoadd = $user->rights->projet->creer;
|
|
|
$permtoedit = $user->rights->projet->creer;
|
|
|
$relativepathwithnofile = dol_sanitizeFileName($projectstatic->ref).'/'.dol_sanitizeFileName($object->ref).'/';
|
|
|
include DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
|