Fix downloadurl::unqueue()
This commit is contained in:
committed by
Chris Morgan
parent
3e7ce62dde
commit
2f3657f196
@@ -384,12 +384,12 @@ class downloadurl
|
||||
|
||||
function unQueue()
|
||||
{
|
||||
if(!$this->canEdit($this->iVersionId))
|
||||
if($this->mustBeQueued())
|
||||
return FALSE;
|
||||
|
||||
$hResult = query_parameters("UPDATE appData SET queued = '?'
|
||||
$hResult = query_parameters("UPDATE appData SET state = '?'
|
||||
WHERE id = '?'",
|
||||
"false", $this->iId);
|
||||
'accepted', $this->iId);
|
||||
|
||||
if(!$hResult)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user