diff --git a/module/projectstory/control.php b/module/projectstory/control.php index 8568ac8cba..613e01b93d 100644 --- a/module/projectstory/control.php +++ b/module/projectstory/control.php @@ -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,