Merge pull request #780 from annando/notice-pumpio

Some notice in pump.io removed
This commit is contained in:
Hypolite Petovan 2018-12-03 07:38:34 -05:00 committed by GitHub
commit ebd15dc84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1392,7 +1392,7 @@ function pumpio_fetchinbox(App $a, $uid)
return;
}
if ($user->items) {
if (!empty($user->items)) {
$posts = array_reverse($user->items);
if (count($posts)) {