* Optimize code #17248,17246.
This commit is contained in:
@@ -313,7 +313,7 @@ class task extends control
|
||||
$this->view->showFields = $this->config->task->custom->batchCreateFields;
|
||||
|
||||
$story = $this->story->getByID($storyID);
|
||||
if($story and empty($moduleID))
|
||||
if($story)
|
||||
{
|
||||
$moduleID = $story->module;
|
||||
$stories = $this->story->getExecutionStoryPairs($executionID, 0, 'all', $moduleID, 'short');
|
||||
|
||||
Reference in New Issue
Block a user