* Fix details.

This commit is contained in:
Yagami
2020-11-02 13:22:57 +08:00
parent c66f0f9bc5
commit 225189e217
15 changed files with 27 additions and 35 deletions
-1
View File
@@ -25,7 +25,6 @@ class project extends control
{
$this->projects = $this->project->getPairs('nocode', $this->session->PRJ);
if(!$this->projects and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('project', 'create'));
if(!$this->projects and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() == 'mhtml') $this->locate($this->createLink('project', 'index'));
}
}