/[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 1350 by dpavlin, Tue Oct 12 12:05:34 2010 UTC revision 1351 by dpavlin, Fri Oct 22 14:13:16 2010 UTC
# Line 235  if ( my $search = param('search') ) { Line 235  if ( my $search = param('search') ) {
235                                  $whitespace = " AND " if $whitespace;                                  $whitespace = " AND " if $whitespace;
236    
237                                  # don't return -* &* and other non-word characters                                  # don't return -* &* and other non-word characters
238                                  return '' if $template =~ m/^\W\*$/;                                  return '' if $template =~ m/^\W\*$/ || $template =~ m/\band\b/i;
239    
240                                  return                                  return
241                                          $whitespace .                                          $whitespace .

Legend:
Removed from v.1350  
changed lines
  Added in v.1351

  ViewVC Help
Powered by ViewVC 1.1.26