Fix a bad call to quote_identifer. Fixes bug #11766.

This commit is contained in:
Colin Kuskie 2010-08-08 16:27:56 -07:00
parent 6a09708f9a
commit 7a21887110
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@
- fixed #11753: PayPal Plugin - Shipping not factored into total in paypal
- fixed #11588: CMSmatrix - Comparing certain products ends in data errors
- fixed #11765: WebGUI/Asset/Wobject/Navigation.pm still uses obsolete PBtmpl0000000000000048
- fixed #11766: Userlist problem / WebGUI 7.8.24
7.9.10
- fixed #11721: spamStopWords not in WebGUI.conf.original

View file

@ -515,7 +515,7 @@ sub view {
if(isIn($sortBy,@sortByUserProperties)){
$sortBy = 'users.'.$sortBy;
}
$sortBy = join '.', map { $self->session->db->quoteIdentifier($_) } split /\./, $sortBy;
$sortBy = join '.', map { $dbh->quote_identifier($_) } split /\./, $sortBy;
$sql .= " order by ".$sortBy." ".$sortOrder;
my $paginatePage = $form->param('pn') || 1;