mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Don't store URL with hashtags / OStatus-Diaspora-Improvements
This commit is contained in:
parent
ea60660c6d
commit
66f5e7c0f8
3 changed files with 5 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Tag
|
|||
if (empty($cid)) {
|
||||
$fields = ['name' => substr($name, 0, 96), 'url' => ''];
|
||||
|
||||
if (!empty($url) && ($url != $name)) {
|
||||
if (($type != Tag::HASHTAG) && !empty($url) && ($url != $name)) {
|
||||
$fields['url'] = strtolower($url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue