Alexander Nicolaysen Sørnes : version: Fix ordering entries by id

Chris Morgan cmorgan at winehq.org
Wed Oct 24 20:19:25 CDT 2007


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Thu Oct 25 00:07:05 2007 +0200

version: Fix ordering entries by id

---

 include/version.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/version.php b/include/version.php
index 8d49bf3..9d97553 100644
--- a/include/version.php
+++ b/include/version.php
@@ -1482,7 +1482,7 @@ class version {
                         AND
                         appVersion.submitterId = '?'
                         AND
-                        appVersion.queued = '?' ORDER BY '?'$sLimit";
+                        appVersion.queued = '?' ORDER BY ?$sLimit";
             else
                 $sQuery = "SELECT appVersion.* FROM
                         appVersion, appMaintainers, appFamily WHERE
@@ -1508,7 +1508,7 @@ class version {
                         AND
                         appMaintainers.queued = 'false'
                         AND
-                        appVersion.queued = '?' ORDER BY '?'$sLimit";
+                        appVersion.queued = '?' ORDER BY ?$sLimit";
 
             if($sLimit)
             {
@@ -1527,7 +1527,7 @@ class version {
                     AND
                     appFamily.queued = 'false'
                     AND
-                    appVersion.queued = '?' ORDER BY '?'$sLimit";
+                    appVersion.queued = '?' ORDER BY ?$sLimit";
 
             if($sLimit)
             {




More information about the wine-cvs mailing list