Fix a bad call to quote_identifer. Fixes bug #11766.
This commit is contained in:
parent
6a09708f9a
commit
7a21887110
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue