Skip to content

Commit

Permalink
Author: kthakore <thakore.kartik@gmail.com>
Browse files Browse the repository at this point in the history
Date:   Sun May 22 16:02:00 2011 -0400

    Fixed SQL statement for ?op=listUsers operation.
  • Loading branch information
scottwalters committed May 22, 2011
1 parent f14f2e5 commit 7687203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WebGUI/Operation/User.pm
Expand Up @@ -232,10 +232,10 @@ sub doUserSearch {
and users.userId not in (".$session->db->quoteAndJoin($userFilter).") order by users.username";
if ($returnPaginator) {
my $p = WebGUI::Paginator->new($session,$session->url->page("op=".$op));
$p->setDataByQuery($sql, undef, undef, [$keyword, $keyword, $keyword, $keyword, $keyword]);
$p->setDataByQuery($sql, undef, undef, [$keyword, $keyword, $keyword, $keyword, $keyword, $keyword]);
return $p;
} else {
my $sth = $session->dbSlave->read($sql, [$keyword, $keyword, $keyword, $keyword, $keyword]);
my $sth = $session->dbSlave->read($sql, [$keyword, $keyword, $keyword, $keyword, $keyword, $keyword]);
return $sth;
}
}
Expand Down

0 comments on commit 7687203

Please sign in to comment.