* Fix an error for edit story.

This commit is contained in:
hufangzhou
2021-11-24 11:26:43 +08:00
parent c1792262cf
commit 4e2cda3a82
+1 -1
View File
@@ -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);