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

View file

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