aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-28 21:05:56 -0700
committerFriendika <info@friendika.com>2011-07-28 21:05:56 -0700
commit8e30f6a2f43d5654a1ecab595be9d801dbc64b3c (patch)
tree41ee20ceec182fe0822b98aadf22448cce4bbc60 /boot.php
parent41c7d71e3b8cc73a8c1e7e79e63753eb99ea6b24 (diff)
downloadvolse-hubzilla-8e30f6a2f43d5654a1ecab595be9d801dbc64b3c.tar.gz
volse-hubzilla-8e30f6a2f43d5654a1ecab595be9d801dbc64b3c.tar.bz2
volse-hubzilla-8e30f6a2f43d5654a1ecab595be9d801dbc64b3c.zip
one more try - do not link numeric hash tags
Diffstat (limited to 'boot.php')
-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);