* change checkrepeat to removeDuplicate.

This commit is contained in:
wangyidong
2014-08-25 03:08:21 +00:00
parent 565fb4c5ef
commit 8c50180759
17 changed files with 169 additions and 91 deletions
+3 -2
View File
@@ -228,9 +228,10 @@ class bug extends control
}
$bugID = $bugResult['id'];
if($bugResult['status'] == 'existed')
if($bugResult['status'] == 'exists')
{
$response['locate'] = $this->createLink('bug', 'view', "bugID=$bugID");
$response['message'] = sprintf($this->lang->duplicate, $this->lang->bug->common);
$response['locate'] = $this->createLink('bug', 'view', "bugID=$bugID");
$this->send($response);
}