* Fix bug 21065.
This commit is contained in:
@@ -20,7 +20,7 @@ class bugCloseEntry extends Entry
|
||||
*/
|
||||
public function post($bugID)
|
||||
{
|
||||
$story = $this->loadModel('bug')->getByID($bugID);
|
||||
$bug = $this->loadModel('bug')->getByID($bugID);
|
||||
|
||||
$fields = 'comment';
|
||||
$this->batchSetPost($fields);
|
||||
|
||||
@@ -51,6 +51,9 @@ class productEntry extends Entry
|
||||
$product->modules = $data->data->tree;
|
||||
}
|
||||
break;
|
||||
case 'execution':
|
||||
$product->execution = $this->loadModel('product')->getExecutionPairsByProduct($productID);
|
||||
break;
|
||||
case 'moduleoptionmenu':
|
||||
$product->moduleOptionMenu = $this->loadModel('tree')->getOptionMenu($productID, 'bug', 0, 'all');
|
||||
break;
|
||||
|
||||
@@ -95,7 +95,7 @@ class storyEntry extends Entry
|
||||
$oldStory = $this->loadModel('story')->getByID($storyID);
|
||||
|
||||
/* Set $_POST variables. */
|
||||
$fields = 'title,product,reviewer,type,plan,module,source,sourceNote,category,pri,estimate,mailto,keywords,uid';
|
||||
$fields = 'title,product,reviewer,type,plan,module,source,sourceNote,category,pri,estimate,mailto,keywords,uid,stage,notifyEmail';
|
||||
$this->batchSetPost($fields, $oldStory);
|
||||
$this->setPost('parent', 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user