* fix a bug of task#1374.

This commit is contained in:
zhujinyong
2013-06-17 08:16:44 +00:00
parent 2f12f4a366
commit d0b136f43e
+1 -1
View File
@@ -287,7 +287,7 @@ class treeModel extends model
*/
public function getTaskTreeMenu($rootID, $productID = 0, $startModule = 0, $userFunc, $extra = '')
{
$extra = array('projectID' => $rootID);
$extra = array('projectID' => $rootID, 'productID' => $productID);
/* If createdVersion <= 4.1, go to getTreeMenu(). */
$createdVersion = $this->dao->select('openedVersion')->from(TABLE_PROJECT)
->where('id')->eq($rootID)