Alexander Nicolaysen Sørnes : Fix version_queue::reject()

Chris Morgan cmorgan at winehq.org
Sun Jan 27 12:38:32 CST 2008


Module: appdb
Branch: master
Commit: d0b39672e028e04d49fa00449304da60d010c174
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=d0b39672e028e04d49fa00449304da60d010c174

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Jan 27 19:15:55 2008 +0100

Fix version_queue::reject()

---

 include/version_queue.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/version_queue.php b/include/version_queue.php
index 08e9a69..280207e 100644
--- a/include/version_queue.php
+++ b/include/version_queue.php
@@ -59,7 +59,7 @@ class version_queue
     {
         $oApp = new application($this->oVersion->iAppId);
 
-        if($oApp->sQueued == "false")
+        if($oApp->objectGetState() == 'accepted')
             $this->oVersion->reject();
 
         if($this->oDownloadUrl->iId)




More information about the wine-cvs mailing list