mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
ignore any fully numeric hash tag
This commit is contained in:
parent
06802dd8fe
commit
1441fce04e
1 changed files with 1 additions and 1 deletions
2
boot.php
2
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);
|
||||
|
|
Loading…
Reference in a new issue