* finish the task #609.

This commit is contained in:
shiyangyangwork@yahoo.cn
2011-11-21 09:02:13 +00:00
parent 07c382caf3
commit fa7837bcf8
7 changed files with 52 additions and 1 deletions
+2 -1
View File
@@ -210,9 +210,10 @@ class bugModel extends model
public function resolve($bugID)
{
$now = helper::now();
$oldBug = $this->getById($bugID);
$storyID = 0;
if($this->post->resolution == 'tostory')
{
$oldBug = $this->getById($bugID);
$story->product = $oldBug->product;
$story->module = $oldBug->module;
$story->source = 'bug';