Fix appData::mustBeQueued()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-22 16:17:36 +00:00
committed by WineHQ
parent fb4db22141
commit a84d8899de

View File

@@ -370,14 +370,14 @@ class appData
if($this->iVersionId) if($this->iVersionId)
{ {
$oVersion = new version($this->iVersionId); $oVersion = new version($this->iVersionId);
if($oVersion->canEdit()) if($oVersion->canEdit() && $oVersion->sQueued == "false")
return FALSE; return FALSE;
else else
return TRUE; return TRUE;
} else if($this->iAppId) } else if($this->iAppId)
{ {
$oApp = new application($this->iAppId); $oApp = new application($this->iAppId);
if($oApp->canEdit()) if($oApp->canEdit() && $oApp->sQueued == "false")
return FALSE; return FALSE;
else else
return TRUE; return TRUE;