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)."...";
|
$title = substr($title, 0, -3)."...";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strstr($title, $msglink))
|
if (($msglink != "") AND !strstr($title, $msglink))
|
||||||
$title = trim($title." ".$msglink);
|
$title = trim($title." ".$msglink);
|
||||||
else
|
else
|
||||||
$title = trim($title);
|
$title = trim($title);
|
||||||
|
|
Loading…
Reference in a new issue