+ Make sure productID is set.

This commit is contained in:
dingguodong
2023-07-24 14:42:03 +08:00
parent 26eee7c168
commit 5e199b4dc1
+3
View File
@@ -50,6 +50,9 @@ class projectStory extends control
if(empty($this->products)) $this->locate($this->createLink('product', 'showErrorNone', 'moduleName=project&activeMenu=story&projectID=' . $projectID));
/* Make sure productID is set. */
if(empty($productID)) $productID = key($this->products);
echo $this->fetch('product', 'browse', array
(
'productID' => $productID,