ignore any fully numeric hash tag

This commit is contained in:
Friendika 2011-07-25 20:21:16 -07:00
parent 06802dd8fe
commit 1441fce04e

View File

@ -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);