From: Friendika Date: Fri, 29 Jul 2011 04:05:56 +0000 (-0700) Subject: one more try - do not link numeric hash tags X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e30f6a2f43d5654a1ecab595be9d801dbc64b3c;p=friendica.git one more try - do not link numeric hash tags --- diff --git a/boot.php b/boot.php index f7a0b50bc5..956cb2ca64 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);