appnetpost: Avoiding a php warning

This commit is contained in:
Michael Vogel 2013-11-27 22:26:27 +01:00
parent 971d820a4e
commit cf2f874db1

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