From b0175bb868b552ec5d10622db766bde23ec58657 Mon Sep 17 00:00:00 2001 From: guanxiying Date: Thu, 12 Dec 2019 09:48:54 +0800 Subject: [PATCH] * Fix bug #2475. --- module/build/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/build/model.php b/module/build/model.php index 3a1a6494f5..3a9fce2470 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -294,7 +294,7 @@ class buildModel extends model $bug->lastEditedBy = $this->app->user->account; $bug->lastEditedDate = $now; $bug->resolution = 'fixed'; - $bug->resolvedBuild = $build->name; + $bug->resolvedBuild = $build->id; $this->dao->update(TABLE_BUG)->data($bug)->where('id')->eq($bug->id)->exec(); $this->action->create('bug', $bug->id, 'Resolved', '', 'fixed', $bug->resolvedBy); }