Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed getAd regex more (belt and suspenders)

  • Loading branch information...
commit 75980958c1557fc611d2291e899f5cb8911524d6 1 parent 0055dcc
Jon 'CowboyNeal' Pater authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Slash/Utility/Anchor/Anchor.pm
View
2  Slash/Utility/Anchor/Anchor.pm
@@ -551,7 +551,7 @@ EOT
if ($num == 2 && $need_box) {
# we need the ad wrapped in a fancybox
if (defined $user->{state}{ad}{$num}
- && $user->{state}{ad}{$num} !~ /^<!--/) {
+ && $user->{state}{ad}{$num} !~ /^<!-- no pos/) {
return fancybox($constants->{fancyboxwidth}, 'Advertisement', "<CENTER>" . $user->{state}{ad}{$num} . "</CENTER>", 1, 1);
} else { return ""; }
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.