diff options
| author | 2017-09-22 13:05:42 +0200 | |
|---|---|---|
| committer | 2017-09-22 13:05:42 +0200 | |
| commit | 2e8d8834c4045aae03c5a9e58ab937a6a4507326 (patch) | |
| tree | 640d5b8946b65d3cf2af457417ff5a5f9a3e8ea4 /app/Models/Feed.php | |
| parent | 2b11cbfe2c65c0f8485e105c0874c945d7c5f77e (diff) | |
Quick fix small bug from 1619 (#1633)
https://github.com/FreshRSS/FreshRSS/pull/1619
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 4 |
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); |
