Trim rid param from user query (#3306)

Caused by https://github.com/FreshRSS/FreshRSS/pull/3208
Before, the 'rid' parameter was saved as part of the user query.
This commit is contained in:
Alexandre Alapetite
2020-12-29 19:17:06 +01:00
committed by GitHub
parent 618cbaf0ce
commit 99c3263cbe

View File

@@ -321,6 +321,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
$queries[$key] = new FreshRSS_UserQuery($query, $feed_dao, $category_dao, $tag_dao);
}
$params = Minz_Request::fetchGET();
unset($params['rid']);
$params['url'] = Minz_Url::display(array('params' => $params));
$params['name'] = _t('conf.query.number', count($queries) + 1);
$queries[] = new FreshRSS_UserQuery($params, $feed_dao, $category_dao, $tag_dao);