/[swish]/trunk/html/swish.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/html/swish.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by dpavlin, Wed Apr 30 12:40:09 2003 UTC revision 35 by dpavlin, Tue May 20 20:10:16 2003 UTC
# Line 160  if (param('search')) { Line 160  if (param('search')) {
160    
161          $hits = $sh->query($s);          $hits = $sh->query($s);
162    
163          if ($hits > 0) {          if ($hits && $hits > 0) {
164                  print p,hr;                  print p,hr;
165                  printf (x($config->{text}->{hits}),$hits,param('max_hits') || $max_hits,$s);                  printf (x($config->{text}->{hits}),$hits,param('max_hits') || $max_hits,$s);
166          } else {          } else {

Legend:
Removed from v.34  
changed lines
  Added in v.35

  ViewVC Help
Powered by ViewVC 1.1.26