1
0
Fork 0

-- #039; is not a tag

This commit is contained in:
friendica 2013-06-21 05:00:30 -07:00
commit 1c10cf1ad7
3 changed files with 342 additions and 339 deletions

View file

@ -79,6 +79,8 @@ function create_tags_from_item($itemid) {
foreach ($tags as $tag=>$link) {
if (substr(trim($tag), 0, 1) == "#") {
if(ctype_digit(substr($tag,1)))
continue;
$type = TERM_HASHTAG;
$term = substr($tag, 1);
} elseif (substr(trim($tag), 0, 1) == "@") {