diff --git a/module/story/control.php b/module/story/control.php index 93bbbd034a..6fcdd5a07e 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -1,5 +1,8 @@ app->loadConfig($storyType, '', true); $this->story->replaceURLang($storyType); $this->storyZen->setMenuForBatchEdit($productID, $executionID, $storyType, $from); @@ -377,7 +381,7 @@ class story extends control $product = $this->product->getByID($productID); if($product && $product->type == 'normal') unset($customFields['branch']); $this->view->customFields = $customFields; - $this->view->showFields = $this->config->story->custom->batchEditFields; + $this->view->showFields = $this->config->{$storyType}->custom->batchEditFields; $this->storyZen->setFormOptionsForBatchEdit($productID, $executionID, $stories);