From d8369379babe107b40eef50892a9d0a89d508135 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 8 Sep 2011 02:56:52 +0000 Subject: [PATCH] * fix bug #255. --- module/bug/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/bug/model.php b/module/bug/model.php index cd5a781e35..424261ecda 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -187,6 +187,7 @@ class bugModel extends model ->autoCheck() ->batchCheck($this->config->bug->resolve->requiredFields, 'notempty') ->checkIF($bug->resolution == 'duplicate', 'duplicateBug', 'notempty') + ->checkIF($bug->resolution == 'fixed', 'resolvedBuild','notempty') ->where('id')->eq((int)$bugID) ->exec(); }