aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-03 19:35:42 -0800
committerfriendica <info@friendica.com>2013-01-03 19:35:42 -0800
commit53cd7a64b610713d2b1407cd9113b0123dc554af (patch)
treee35012d8004ab428990a3dad3ec6c2b048d7c550 /include/onepoll.php
parentbec7d9f483d63a2330694cc34377b0f79d1afcba (diff)
downloadvolse-hubzilla-53cd7a64b610713d2b1407cd9113b0123dc554af.tar.gz
volse-hubzilla-53cd7a64b610713d2b1407cd9113b0123dc554af.tar.bz2
volse-hubzilla-53cd7a64b610713d2b1407cd9113b0123dc554af.zip
json_decode param missing
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,