aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-25 20:21:16 -0700
committerFriendika <info@friendika.com>2011-07-25 20:21:16 -0700
commit1441fce04eb0a95756661e54cbc22dff2e275c21 (patch)
treec3b0ff41e7d4c3eaa7ca0f31ff495fb9330caaa4 /boot.php
parent06802dd8feefc5778b73c2e910be3e13e28c59bc (diff)
downloadvolse-hubzilla-1441fce04eb0a95756661e54cbc22dff2e275c21.tar.gz
volse-hubzilla-1441fce04eb0a95756661e54cbc22dff2e275c21.tar.bz2
volse-hubzilla-1441fce04eb0a95756661e54cbc22dff2e275c21.zip
ignore any fully numeric hash tag
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 a72fbf673..ae6c1bd09 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(substr($mtch,1)))
+ if((strpos($mtch,'#') === 0) && ctype_digit($mtch))
continue;
if(substr($mtch,-1,1) === '.')
$ret[] = substr($mtch,0,-1);