* Fix bug#38292

This commit is contained in:
zenggang
2023-09-06 08:45:55 +00:00
parent cbeb23f722
commit 06d7dfeb60
+1 -1
View File
@@ -63,7 +63,7 @@ class repo extends control
$this->repo->setMenu($this->repos, $repoID);
}
if(empty($this->repos) and $this->methodName != 'create') return print($this->locate($this->repo->createLink('create', "objectID=$objectID")));
if(empty($this->repos) and !in_array($this->methodName, array('create', 'setrules'))) return print($this->locate($this->repo->createLink('create', "objectID=$objectID")));
}
/**