From 726bbc775bbcf3f0f129d7bfe09ee69bd7082153 Mon Sep 17 00:00:00 2001
From: holan20180123 <56391770@qq.com>
Date: Wed, 18 Nov 2020 09:52:04 +0800
Subject: [PATCH] * Finish task #8407.
---
module/project/view/task.html.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php
index 32119ab86f..e54212298f 100644
--- a/module/project/view/task.html.php
+++ b/module/project/view/task.html.php
@@ -152,7 +152,7 @@ js::set('foldAll', $lang->project->treeLevel['root']);
";
$link = $this->createLink('task', 'create', "project=$projectID" . (isset($moduleID) ? "&storyID=0&moduleID=$moduleID" : ""));
- if($canBeChanged and common::hasPriv('task', 'create' $checkObject)) echo html::a($link, " {$lang->task->create} ", '', "class='btn btn-primary'");
+ if($canBeChanged and common::hasPriv('task', 'create', $checkObject)) echo html::a($link, " {$lang->task->create} ", '', "class='btn btn-primary'");
?>