Alexander Nicolaysen Sørnes : Fix display of a user's queued test results

Chris Morgan cmorgan at winehq.org
Sun Dec 23 10:18:57 CST 2007


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Fri Dec 21 20:43:25 2007 +0100

Fix display of a user's queued test results

---

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

diff --git a/include/testData.php b/include/testData.php
index 78a9f3f..022459c 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -916,7 +916,7 @@ class testData{
     /* List test data submitted by a given user.  Ignore test results for queued applications/versions */
     function listSubmittedBy($iUserId, $bQueued = true)
     {
-        $hResult = query_parameters("SELECT testResults.versionId, testResults.testedDate, testResults.testedRelease, testResults.testedRating, testResults.submitTime, appFamily.appName, appVersion.versionName from testResults, appFamily, appVersion WHERE testResults.versionId = appVersion.versionId AND appVersion.appId = appFamily.appId AND (appFamily.queued = '?' OR appVersion.state = '?') AND testResults.submitterId = '?' AND testResults.state = '?' ORDER BY testResults.testingId", "false", 'accepted', $iUserId, $bQueued ? 'queued' : 'accepted');
+        $hResult = query_parameters("SELECT testResults.versionId, testResults.testedDate, testResults.testedRelease, testResults.testedRating, testResults.submitTime, appFamily.appName, appVersion.versionName from testResults, appFamily, appVersion WHERE testResults.versionId = appVersion.versionId AND appVersion.appId = appFamily.appId  AND testResults.submitterId = '?' AND testResults.state = '?' ORDER BY testResults.testingId", $iUserId, $bQueued ? 'queued' : 'accepted');
 
         if(!$hResult || !query_num_rows($hResult))
             return false;




More information about the wine-cvs mailing list