* Fix bug#12525.

This commit is contained in:
qiyu-xie
2021-05-10 13:59:29 +08:00
parent a81bdc4c73
commit 4ef83185fe
+1 -1
View File
@@ -40,7 +40,7 @@ class execution extends control
$this->loadModel('project');
if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu')))
if(!in_array($this->methodName, array('computeburn', 'ajaxgetdropmenu')) and $this->app->openApp == 'execution')
{
$this->executions = $this->execution->getPairs(0, 'all', 'nocode');
if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create'));