kopia lustrzana https://github.com/friendica/friendica
Merge pull request #7942 from MrPetovan/bug/notices
Don't process empty hash tags in Model\Itempull/7944/head
commit
0b13a7acd3
|
@ -2621,7 +2621,7 @@ class Item extends BaseObject
|
|||
"#$2", $item["body"]);
|
||||
|
||||
foreach ($tags as $tag) {
|
||||
if ((strpos($tag, '#') !== 0) || strpos($tag, '[url=') || $tag[1] == '#') {
|
||||
if ((strpos($tag, '#') !== 0) || strpos($tag, '[url=') || strlen($tag) < 2 || $tag[1] == '#') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue