* adjust the ui.

This commit is contained in:
wangchunsheng
2010-03-25 07:10:54 +00:00
parent 663486d51e
commit 00a4aa1d6d
3 changed files with 5 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ class bugModel extends model
$this->dao->update(TABLE_BUG)->data($bug)
->autoCheck()
->check('resolution', 'notempty')
->batchCheck($this->config->bug->resolve->requiredFields, 'notempty')
->checkIF($bug->resolution == 'duplicate', 'duplicateBug', 'notempty')
->where('id')->eq((int)$bugID)
->exec();