/[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 1339 by dpavlin, Sun Mar 21 20:58:57 2010 UTC revision 1340 by dpavlin, Tue Oct 12 12:05:34 2010 UTC
# Line 234  if ( my $search = param('search') ) { Line 234  if ( my $search = param('search') ) {
234                                     $template =~ s{Q}{$v};                                     $template =~ s{Q}{$v};
235                                  $whitespace = " AND " if $whitespace;                                  $whitespace = " AND " if $whitespace;
236    
237                                    # don't return -* &* and other non-word characters
238                                    return '' if $template =~ m/^\W\*$/;
239    
240                                  return                                  return
241                                          $whitespace .                                          $whitespace .
242                                          $attr . '="' . $template . '"';                                          $attr . '="' . $template . '"';

Legend:
Removed from v.1339  
changed lines
  Added in v.1340

  ViewVC Help
Powered by ViewVC 1.1.26