Some notice in pump.io removed
authorMichael <heluecht@pirati.ca>
Mon, 3 Dec 2018 06:52:46 +0000 (06:52 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 3 Dec 2018 06:52:46 +0000 (06:52 +0000)
pumpio/pumpio.php

index 4d19641..fa0365e 100644 (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)) {