From: Friendika Date: Tue, 26 Jul 2011 03:21:16 +0000 (-0700) Subject: ignore any fully numeric hash tag X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1441fce04eb0a95756661e54cbc22dff2e275c21;p=friendica.git ignore any fully numeric hash tag --- diff --git a/boot.php b/boot.php index a72fbf6734..ae6c1bd090 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);