Avoid warnings in addons #639

Merged
annando merged 11 commits from warnings into develop 2018-07-10 14:30:23 +02:00
Showing only changes of commit 3e4dc941ed - Show all commits

View file

@ -1207,7 +1207,7 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet
$postarray["body"] = "[url=".$post->object->fullImage->url."][img]".$post->object->image->url."[/img][/url]\n".$postarray["body"];
}
if ($post->object->displayName != "") {
if (!empty($post->object->displayName)) {
$postarray['title'] = $post->object->displayName;
}