Fix ordering of vendors in application drop-down vendor list
This commit is contained in:
committed by
Chris Morgan
parent
f378e0b4b5
commit
c8b93843d7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user