FIX empty test on conf fortask comment was bad
This commit is contained in:
parent
3a782856f7
commit
fdd758abb4
@ -177,7 +177,7 @@ function task_prepare_head($object)
|
||||
complete_head_from_modules($conf,$langs,$object,$head,$h,'task');
|
||||
|
||||
// Manage discussion
|
||||
if (empty($conf->global->MAIN_ALLOW_COMMENT_ON_TASK))
|
||||
if (!empty($conf->global->PROJECT_ALLOW_COMMENT_ON_TASK))
|
||||
{
|
||||
$nbComments= $object->getNbComments();
|
||||
$head[$h][0] = DOL_URL_ROOT.'/projet/tasks/comment.php?id='.$object->id.(GETPOST('withproject')?'&withproject=1':'');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user