diff --git a/module/story/control.php b/module/story/control.php index 12fc0692e8..69fefb222f 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -655,7 +655,7 @@ class story extends control } else { - $branches = $product->type != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active') : array(); + $branches = $product->type != 'normal' ? $this->loadModel('branch')->getPairs($product->id, 'active') : array(); } $this->story->replaceURLang($story->type);