Avoid warnings in addons #639
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
$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;
|
$postarray['title'] = $post->object->displayName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue