Alexander Nicolaysen Sørnes : Fix ordering of vendors in application drop-down vendor list
Module: appdb Branch: master Commit: c8b93843d7191b666984eea89496116527044549 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=c8b93843d7191b666984eea89... Author: Alexander Nicolaysen Sørnes <alexander(a)alex.alexstyrt> Date: Wed Sep 26 21:32:57 2007 +0200 Fix ordering of vendors in application drop-down vendor list --- include/tableve.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/tableve.php b/include/tableve.php index 2781679..9a4e11a 100644 --- a/include/tableve.php +++ b/include/tableve.php @@ -182,7 +182,7 @@ class TableVE { if($aWhere) $sWhere = "WHERE ".$aWhere[0]." ='".$aWhere[1]."'"; - $hResult = query_parameters("SELECT ?, ? FROM ? $sWhere ORDER BY '?'", + $hResult = query_parameters("SELECT ?, ? FROM ? $sWhere ORDER BY ?", $sIdField, $sNameField, $sTable, $sNameField); if(!$hResult) return $sStr; // Oops
participants (1)
-
Chris Morgan