* finish task #2506.

This commit is contained in:
chenfeiCF
2016-02-15 14:39:31 +08:00
parent 1f9055b610
commit ef9f7ca2fb
2 changed files with 7 additions and 2 deletions
+6 -2
View File
@@ -31,11 +31,16 @@ class story extends control
* Create a story.
*
* @param int $productID
* @param int $branch
* @param int $moduleID
* @param int $storyID
* @param int $projectID
* @param int $bugID
* @param int $planID
* @access public
* @return void
*/
public function create($productID = 0, $branch = 0, $moduleID = 0, $storyID = 0, $projectID = 0, $bugID = 0)
public function create($productID = 0, $branch = 0, $moduleID = 0, $storyID = 0, $projectID = 0, $bugID = 0, $planID = 0)
{
if(!empty($_POST))
{
@@ -112,7 +117,6 @@ class story extends control
$this->product->setMenu($products, $product->id, $branch);
/* Init vars. */
$planID = 0;
$source = '';
$pri = 0;
$estimate = '';