summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
45c6f90)
This helps with queries which include "&", "-" or something
similar which return nothing in previous implementation
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@1340
07558da8-63fa-0310-ba24-
9fe276d99e06
$template =~ s{Q}{$v};
$whitespace = " AND " if $whitespace;
$template =~ s{Q}{$v};
$whitespace = " AND " if $whitespace;
+ # don't return -* &* and other non-word characters
+ return '' if $template =~ m/^\W\*$/;
+
return
$whitespace .
$attr . '="' . $template . '"';
return
$whitespace .
$attr . '="' . $template . '"';