Skip to content

Commit

Permalink
Test before commit Good.
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Oct 20, 2000
1 parent 952cb84 commit a1f341c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions public_html/search.pl
Expand Up @@ -210,7 +210,7 @@ sub userSearch {

my($x, $cnt) = 0;

my $users = $slashdb->getSearchUsers($form->, getCurrentStatic('anonymous_coward_uid'));
my $users = $slashdb->getSearchUsers($form, getCurrentStatic('anonymous_coward_uid'));
for (@$users) {
my($fakeemail, $nickname, $uid) = @$_;
my $ln = $nickname;
Expand Down Expand Up @@ -239,6 +239,7 @@ sub userSearch {

#################################################################
sub storySearch {
my $slashdb = getCurrentDB();
my $form = getCurrentForm();

my $prev = $form->{min} - $form->{max};
Expand All @@ -250,7 +251,7 @@ sub storySearch {
my($x, $cnt) = 0;
print " ";

my $stories = $slashdb->getSearchStory($form->);
my $stories = $slashdb->getSearchStory($form);
for (@$stories) {
my($aid, $title, $sid, $time, $commentcount, $section, $cnt) = @$_;
last unless $cnt || ! $form->{query};
Expand Down
5 changes: 3 additions & 2 deletions themes/slashcode/htdocs/search.pl
Expand Up @@ -210,7 +210,7 @@ sub userSearch {

my($x, $cnt) = 0;

my $users = $slashdb->getSearchUsers($form->, getCurrentStatic('anonymous_coward_uid'));
my $users = $slashdb->getSearchUsers($form, getCurrentStatic('anonymous_coward_uid'));
for (@$users) {
my($fakeemail, $nickname, $uid) = @$_;
my $ln = $nickname;
Expand Down Expand Up @@ -239,6 +239,7 @@ sub userSearch {

#################################################################
sub storySearch {
my $slashdb = getCurrentDB();
my $form = getCurrentForm();

my $prev = $form->{min} - $form->{max};
Expand All @@ -250,7 +251,7 @@ sub storySearch {
my($x, $cnt) = 0;
print " ";

my $stories = $slashdb->getSearchStory($form->);
my $stories = $slashdb->getSearchStory($form);
for (@$stories) {
my($aid, $title, $sid, $time, $commentcount, $section, $cnt) = @$_;
last unless $cnt || ! $form->{query};
Expand Down

0 comments on commit a1f341c

Please sign in to comment.