mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 08:43:40 +00:00
appnetpost: Avoiding a php warning
This commit is contained in:
parent
971d820a4e
commit
cf2f874db1
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ function appnetpost_feeditem($pid, $uid) {
|
|||
$title = substr($title, 0, -3)."...";
|
||||
}
|
||||
|
||||
if (!strstr($title, $msglink))
|
||||
if (($msglink != "") AND !strstr($title, $msglink))
|
||||
$title = trim($title." ".$msglink);
|
||||
else
|
||||
$title = trim($title);
|
||||
|
|
Loading…
Reference in a new issue