diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/poller.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php index d873058a6..9b8ac4165 100644 --- a/include/poller.php +++ b/include/poller.php @@ -176,6 +176,7 @@ function poller_run($argv, $argc){ if($r) { $feedurl = $r[0]['site_url'] . '/zotfeed?f=&mindate=' . urlencode(datetime_convert('','','now - 15 days')); $x = z_fetch_url($feedurl); + if(($x) && ($x['success'])) { $total = 0; $j = json_decode($x['body'],true); |