appdb/include appData.php

WineHQ wineowner at wine.codeweavers.com
Sun Apr 22 11:17:36 CDT 2007


ChangeSet ID:	31088
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/04/22 11:17:36

Modified files:
	include        : appData.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Fix appData::mustBeQueued()

Patch: http://cvs.winehq.org/patch.py?id=31088

Old revision  New revision  Changes     Path
 1.16          1.17          +2 -2       appdb/include/appData.php

Index: appdb/include/appData.php
diff -u -p appdb/include/appData.php:1.16 appdb/include/appData.php:1.17
--- appdb/include/appData.php:1.16	22 Apr 2007 16:17:36 -0000
+++ appdb/include/appData.php	22 Apr 2007 16:17:36 -0000
@@ -370,14 +370,14 @@ class appData
             if($this->iVersionId)
             {
                 $oVersion = new version($this->iVersionId);
-                if($oVersion->canEdit())
+                if($oVersion->canEdit() && $oVersion->sQueued == "false")
                     return FALSE;
                 else
                     return TRUE;
             } else if($this->iAppId)
             {
                 $oApp = new application($this->iAppId);
-                if($oApp->canEdit())
+                if($oApp->canEdit() && $oApp->sQueued == "false")
                     return FALSE;
                 else
                     return TRUE;



More information about the wine-cvs mailing list