This commit is contained in:
JT Smith 2004-09-15 21:17:59 +00:00
parent 28323b9f54
commit b65ddaf8f0
5 changed files with 7 additions and 3 deletions

View file

@ -457,7 +457,7 @@ sub www_listCollateral {
.'&nbsp;'.WebGUI::International::get(542).'</a></td></tr>';
}
$sth = WebGUI::SQL->read("select collateralFolderId, name, description from collateralFolder
where parentId=".quote($folderId)." and collateralFolderId<>0 order by name");
where parentId=".quote($folderId)." order by name");
while ($data = $sth->hashRef) {
$output .= '<tr><td class="tableData"><a href="'.WebGUI::URL::page('op=listCollateral&fid='
.$data->{collateralFolderId}.'&pn=1')

View file

@ -89,7 +89,7 @@ sub doUserSearch {
where $selectedStatus and (users.username like ".$keyword." or email.fieldData like ".$keyword.")
and users.userId not in (".quoteAndJoin($userFilter).") order by users.username";
if ($returnPaginator) {
my $p = WebGUI::Paginator->new(WebGUI::URL::page($op));
my $p = WebGUI::Paginator->new(WebGUI::URL::page("op=".$op));
$p->setDataByQuery($sql);
return $p;
} else {