appnetpost: Avoiding a php warning

pull/165/head
Michael Vogel 2013-11-27 22:26:27 +01:00
parent 971d820a4e
commit cf2f874db1
1 changed files with 1 additions and 1 deletions

View File

@ -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);