diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php
index 31042e7182..b789d3567e 100644
--- a/module/story/view/batchedit.html.php
+++ b/module/story/view/batchedit.html.php
@@ -101,16 +101,19 @@ foreach(explode(',', $showFields) as $field)
'>
'');
- if($story->branch != BRANCH_MAIN)
- {
- if(isset($plans[$story->branch])) $productPlans += $plans[$story->branch];
- if(isset($plans[0])) $productPlans += $plans[0];
- }
- else
- {
- foreach($plans as $branchPlan) $productPlans += $branchPlan;
- }
+ if($productID)
+ {
+ $productPlans = array('' => '');
+ if($story->branch != BRANCH_MAIN)
+ {
+ if(isset($plans[$story->branch])) $productPlans += $plans[$story->branch];
+ if(isset($plans[0])) $productPlans += $plans[0];
+ }
+ else
+ {
+ foreach($plans as $branchPlan) $productPlans += $branchPlan;
+ }
+ }
?>
session->currentProductType == 'normal') $productPlans = array('' => '', 'ditto' => $this->lang->story->ditto) + $productPlans;?>
plan, "class='form-control chosen'");?>
|