aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index f7a0b50bc..956cb2ca6 100644
--- a/boot.php
+++ b/boot.php
@@ -2075,7 +2075,7 @@ function get_tags($s) {
continue;
}
// ignore strictly numeric tags like #1
- if((strpos($mtch,'#') === 0) && ctype_digit($mtch))
+ if((strpos($mtch,'#') === 0) && ctype_digit(substr($mtch,1)))
continue;
if(substr($mtch,-1,1) === '.')
$ret[] = substr($mtch,0,-1);