* Fix bug#12525.
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user