/[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 1191 by dpavlin, Tue May 26 14:55:29 2009 UTC revision 1192 by dpavlin, Tue May 26 15:00:57 2009 UTC
# Line 220  if ( my $search = param('search') ) { Line 220  if ( my $search = param('search') ) {
220                  push @search, $v;                  push @search, $v;
221                    
222                  my @only_input = param('only_input');                  my @only_input = param('only_input');
223                  push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input;                  push @search, '((' . join(') OR (', map { "input=\"$_\"" } @only_input) . '))' if @only_input;
224          } else {          } else {
225                  push @search, "all=\"$search\"";                  push @search, "all=\"$search\"";
226          }          }

Legend:
Removed from v.1191  
changed lines
  Added in v.1192

  ViewVC Help
Powered by ViewVC 1.1.26