This commit is contained in:
tanghucheng
2023-09-01 10:51:13 +08:00
parent 7515e99954
commit 9196afbb36
-1
View File
@@ -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'))
{