summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-12-29 19:17:06 +0100
committerGravatar GitHub <noreply@github.com> 2020-12-29 19:17:06 +0100
commit99c3263cbeefb916bc362f4e0550ba1267bcb7fb (patch)
tree78b6576af3cef9edf2866dddf344bc5a2fc40c96 /app/Controllers/configureController.php
parent618cbaf0cee04092c5eb33ff818decac2c8e80b7 (diff)
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.
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index ca3974f0e..db390e4c1 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -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);