/[webpac2]/trunk/vhost/webpac2.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/vhost/webpac2.cgi

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

revision 1157 by dpavlin, Sat Apr 25 11:58:23 2009 UTC revision 1162 by dpavlin, Sat Apr 25 14:20:42 2009 UTC
# Line 204  if ( my $search = param('search') ) { Line 204  if ( my $search = param('search') ) {
204                  my @only_input = param('only_input');                  my @only_input = param('only_input');
205                  push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input;                  push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input;
206          } else {          } else {
207                  push @search, "xml=$search";                  push @search, "all=\"$search\"";
208          }          }
209    
210          my $q = '(' . join(') AND (', @search) . ')';          my $q = '(' . join(') AND (', @search) . ')';

Legend:
Removed from v.1157  
changed lines
  Added in v.1162

  ViewVC Help
Powered by ViewVC 1.1.26