Fix appData::mustBeQueued()
This commit is contained in:
committed by
WineHQ
parent
fb4db22141
commit
a84d8899de
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user