Browse files

fixed getAd regex more (belt and suspenders)

  • Loading branch information...
1 parent 0055dcc commit 75980958c1557fc611d2291e899f5cb8911524d6 Jon 'CowboyNeal' Pater committed Oct 30, 2003
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 {

0 comments on commit 7598095

Please sign in to comment.