-
release->browse;?>
+
+
+ type !== 'normal') echo '' . $branches[$branch] . '';?>
+ release->browse;?>
+
id&branch=$branch");?>
diff --git a/module/story/control.php b/module/story/control.php
index e2ac4458ee..870daa1022 100644
--- a/module/story/control.php
+++ b/module/story/control.php
@@ -265,7 +265,7 @@ class story extends control
$this->view->storyTitle = $title;
$this->view->spec = $spec;
$this->view->branch = $branch;
- $this->view->branchGroups = $this->loadModel('branch')->getByProducts($productID);
+ $this->view->branches = $this->loadModel('branch')->getPairs($productID);
$this->display();
}
diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php
index 450779ef0c..a5258339ca 100644
--- a/module/story/view/batchcreate.html.php
+++ b/module/story/view/batchcreate.html.php
@@ -16,8 +16,8 @@
icons['story']);?>
icons['batchCreate']);?>
+ type !== 'normal') echo '' . $branches[$branch] . '';?>
story->batchCreate;?>
- type !== 'normal') echo '' . $branchGroups[$productID][$branch] . '';?>
createLink('file', 'uploadImages', 'module=story¶ms=' . helper::safe64Encode("productID=$productID&moduleID=$moduleID")), $lang->uploadImages, '', "data-toggle='modal' data-type='iframe' class='btn' data-width='600px'")?>