* Fix export execution error when the execution is empty.
This commit is contained in:
@@ -49,7 +49,7 @@ class execution extends control
|
||||
$skipCreateStep = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers', 'all', 'ajaxgetcopyprojectexecutions');
|
||||
if(in_array($this->methodName, $skipCreateStep) && $this->app->tab == 'execution') return false;
|
||||
if($this->executions || $this->methodName == 'index' || $this->methodName == 'create' || $this->app->getViewType() == 'mhtml') return false;
|
||||
if($this->app->tab == 'project' && in_array($this->app->rawMethod, array('linkstory', 'importplanstories', 'unlinkstory'))) return false;
|
||||
if($this->app->tab == 'project' && in_array($this->app->rawMethod, array('linkstory', 'importplanstories', 'unlinkstory', 'export'))) return false;
|
||||
|
||||
$this->locate($this->createLink('execution', 'create'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user