From 3bdab60664d0ff19a4f0713d12ea8e29005fae37 Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Thu, 28 Apr 2022 15:48:24 +0800 Subject: [PATCH] * fix bug #22019 --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index f30ebb9f37..0e112d2882 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2650,7 +2650,7 @@ EOT; if(empty($object)) { $param = ($type == 'project' and $this->config->vision == 'lite') ? 'model=kanban' : ''; - $methodName = $type == 'project' ? 'createGuide' : 'create'; + $methodName = ($type == 'project' and $this->config->vision != 'lite') ? 'createGuide' : 'create'; return print(js::locate(helper::createLink($type, $methodName, $param))); } }