No subject

=3D?utf-8?q?Alexander_Nicolaysen_S=3DC3=3DB8rnes?=3D alex at thehandofag=
Thu Nov 15 09:34:07 CST 2007


ony.com>
Date: Fri, 21 Dec 2007 20:43:25 +0100
Subject: [PATCH] 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 q=
ueued applications/versions */
     function listSubmittedBy($iUserId, $bQueued =3D true)
     {
-        $hResult =3D query_parameters("SELECT testResults.versionId, testRe=
sults.testedDate, testResults.testedRelease, testResults.testedRating, testR=
esults.submitTime, appFamily.appName, appVersion.versionName from testResult=
s, appFamily, appVersion WHERE testResults.versionId =3D appVersion.versionI=
d AND appVersion.appId =3D appFamily.appId AND (appFamily.queued =3D '?' OR =
appVersion.state =3D '?') AND testResults.submitterId =3D '?' AND testResult=
s.state =3D '?' ORDER BY testResults.testingId", "false", 'accepted', $iUser=
Id, $bQueued ? 'queued' : 'accepted');
+        $hResult =3D query_parameters("SELECT testResults.versionId, testRe=
sults.testedDate, testResults.testedRelease, testResults.testedRating, testR=
esults.submitTime, appFamily.appName, appVersion.versionName from testResult=
s, appFamily, appVersion WHERE testResults.versionId =3D appVersion.versionI=
d AND appVersion.appId =3D appFamily.appId  AND testResults.submitterId =3D =
'?' AND testResults.state =3D '?' ORDER BY testResults.testingId", $iUserId,=
 $bQueued ? 'queued' : 'accepted');
=20
         if(!$hResult || !query_num_rows($hResult))
             return false;
--=20
1.5.1.6


--=_13booyila8z4--




More information about the wine-patches mailing list