Fix bug link processing

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-01-22 15:47:40 +01:00
committed by Chris Morgan
parent 3923392247
commit 3e7ce62dde

View File

@@ -175,8 +175,8 @@ class Bug
if(!$this->bQueued)
return false;
if(query_parameters("UPDATE buglinks SET queued = '?' WHERE linkId='?'",
"false", $this->iLinkId))
if(query_parameters("UPDATE buglinks SET state = '?' WHERE linkId='?'",
'accepted', $this->iLinkId))
{
$this->bQueued = false;
// we send an e-mail to interested people