+ Make sure productID is set.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user