fixed bug 664327
This commit is contained in:
parent
ac9677451c
commit
e4d1d494e0
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ A DBI-style database handler. Defaults to the WebGUI site handler.
|
||||||
sub setDataByQuery {
|
sub setDataByQuery {
|
||||||
my ($sth, $pageCount, $rowCount, $dbh, $sql, $self, @row, $data);
|
my ($sth, $pageCount, $rowCount, $dbh, $sql, $self, @row, $data);
|
||||||
($self, $sql, $dbh) = @_;
|
($self, $sql, $dbh) = @_;
|
||||||
$dbh |= $session{dbh};
|
$dbh ||= $session{dbh};
|
||||||
$sth = WebGUI::SQL->read($sql);
|
$sth = WebGUI::SQL->read($sql);
|
||||||
$pageCount = 1;
|
$pageCount = 1;
|
||||||
while ($data = $sth->hashRef) {
|
while ($data = $sth->hashRef) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue