From 2e8d8834c4045aae03c5a9e58ab937a6a4507326 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 22 Sep 2017 13:05:42 +0200 Subject: Quick fix small bug from 1619 (#1633) https://github.com/FreshRSS/FreshRSS/pull/1619 --- app/Models/Feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models') 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); -- cgit v1.2.3