mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:10:15 +00:00
Some small bugfixes (mostly warnings) and little improvements to the log
This commit is contained in:
parent
1bf9d99be2
commit
de9a02b9ae
4 changed files with 15 additions and 5 deletions
|
@ -218,7 +218,7 @@ function html2plain($html, $wraplength = 75, $compact = false)
|
|||
|
||||
$message = html_entity_decode($message, ENT_QUOTES, 'UTF-8');
|
||||
|
||||
if (!$compact) {
|
||||
if (!$compact AND ($message != "")) {
|
||||
$counter = 1;
|
||||
foreach ($urls as $id=>$url)
|
||||
if (strpos($message, $url) === false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue