aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/onepoll.php')
-rw-r--r--include/onepoll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onepoll.php b/include/onepoll.php
index e2636d84a..4b44ff5b9 100644
--- a/include/onepoll.php
+++ b/include/onepoll.php
@@ -96,7 +96,7 @@ function onepoll_run($argv, $argc){
$x = z_fetch_url($feedurl . '?f=$mindate=' . $last_update);
if($x['success']) {
$total = 0;
- $j = json_decode($x['body'],);
+ $j = json_decode($x['body'],true);
if($j['success'] && $j['messages']) {
foreach($j['messages'] as $message) {
$results = process_delivery(array('hash' => $contact['xchan_hash']),$message,