Fix ordering of vendors in application drop-down vendor list

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-09-26 21:32:57 +02:00
committed by Chris Morgan
parent f378e0b4b5
commit c8b93843d7

View File

@@ -182,7 +182,7 @@ class TableVE {
if($aWhere) if($aWhere)
$sWhere = "WHERE ".$aWhere[0]." ='".$aWhere[1]."'"; $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); $sIdField, $sNameField, $sTable, $sNameField);
if(!$hResult) if(!$hResult)
return $sStr; // Oops return $sStr; // Oops