aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-09-22 13:05:42 +0200
committerGravatar GitHub <noreply@github.com> 2017-09-22 13:05:42 +0200
commit2e8d8834c4045aae03c5a9e58ab937a6a4507326 (patch)
tree640d5b8946b65d3cf2af457417ff5a5f9a3e8ea4 /app/Models
parent2b11cbfe2c65c0f8485e105c0874c945d7c5f77e (diff)
Quick fix small bug from 1619 (#1633)
https://github.com/FreshRSS/FreshRSS/pull/1619
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 88ff9bf18..002be711a 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -485,12 +485,12 @@ class FreshRSS_Feed extends Minz_Model {
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERAGENT => 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')',
- CURLOPT_POSTFIELDS => http_build_query(
+ CURLOPT_POSTFIELDS => http_build_query(array(
'hub.verify' => 'sync',
'hub.mode' => ($state ? 'subscribe' : 'unsubscribe'),
'hub.topic' => urlencode($url),
'hub.callback' => urlencode($callbackUrl),
- )
+ ))
)
);
$response = curl_exec($ch);