diff options
Diffstat (limited to 'app/Models')
| -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); |
