From 53cd7a64b610713d2b1407cd9113b0123dc554af Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 3 Jan 2013 19:35:42 -0800 Subject: json_decode param missing --- include/onepoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/onepoll.php') 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, -- cgit v1.2.3