mirror of
https://github.com/friendica/friendica
synced 2025-04-22 22:30:11 +00:00
Bugfix for spaces in links
This commit is contained in:
parent
2f46675a89
commit
4a6a6ca937
2 changed files with 6 additions and 1 deletions
|
@ -191,7 +191,7 @@ function bb_cleanup_share($shared, $plaintext, $nolink) {
|
|||
if (isset($bookmark[1][0]))
|
||||
$link = $bookmark[1][0];
|
||||
|
||||
if (($title != "") AND (strpos($title, $shared[1]) !== false))
|
||||
if (($shared[1] != "") AND (strpos($title, $shared[1]) !== false))
|
||||
$shared[1] = $title;
|
||||
|
||||
if (($title != "") AND ((strpos($shared[1],$title) !== false) OR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue