A free, self-hostable news aggregator…
Quick fix small bug from 1619 (#1633)
Alexandre Alapetite2e8d8834c404
diff --git a/app/Models/Feed.php b/app/Models/Feed.phpindex 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);