From 9196afbb36a3341a7b235d3df8cdb3fe528bef31 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 1 Sep 2023 10:51:13 +0800 Subject: [PATCH] * Fix bug #37673. --- module/doc/model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index ff22a35710..c6c7b99ab9 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2868,7 +2868,6 @@ class docModel extends model $tab = strpos(',my,doc,product,project,execution,', ",{$this->app->tab},") !== false ? $this->app->tab : 'doc'; if($type == 'mine') $type = 'my'; - if($type == 'custom') $type = 'team'; if($tab == 'doc' and !common::hasPriv('doc', $type . 'Space')) return print(js::locate(helper::createLink('user', 'deny', "module=doc&method={$type}Space"))); if($tab != 'doc' and method_exists($type . 'Model', 'setMenu')) {