diff --git a/html/cgi-bin/logs.cgi/ids.dat b/html/cgi-bin/logs.cgi/ids.dat
index 8918bc6da..74cad6267 100644
--- a/html/cgi-bin/logs.cgi/ids.dat
+++ b/html/cgi-bin/logs.cgi/ids.dat
@@ -351,7 +351,7 @@ END
print "target='_blank'>$sid\n";
} elsif ($sid >= 2000000 and $sid < 3000000) {
# Link to emergingthreats if the rule sid is between 2000000 and 3000000.
- print "$sid\n";
} else {
# No external link for user defined rules