]> git.mxchange.org Git - friendica.git/commitdiff
one more try - do not link numeric hash tags
authorFriendika <info@friendika.com>
Fri, 29 Jul 2011 04:05:56 +0000 (21:05 -0700)
committerFriendika <info@friendika.com>
Fri, 29 Jul 2011 04:05:56 +0000 (21:05 -0700)
boot.php

index f7a0b50bc5679d02250cb6b971f23a696b9f513c..956cb2ca64cfb31496d07421ef8ec9417b1641da 100644 (file)
--- 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);