From 6df8b3e6f8229fdb8f3a482c449efc7ce5004ed0 Mon Sep 17 00:00:00 2001 From: sgm0422 <976204163@qq.com> Date: Mon, 20 Jul 2020 15:01:15 +0800 Subject: [PATCH] * Finish task #1084. --- module/project/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/project/control.php b/module/project/control.php index de9cec6939..a5cc397a69 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -116,6 +116,8 @@ class project extends control $this->loadModel('task'); $this->loadModel('datatable'); + if(common::hasPriv('project', 'create')) $this->lang->modulePageActions = html::a($this->createLink('project', 'create', ''), " " . $this->lang->project->create, '', "class='btn btn-primary'"); + $this->project->getLimitedProject(); /* Set browse type. */