aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 4fd9a2f28..d766aa97d 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -374,7 +374,6 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
if ('' === $name) {
$name = _t('conf.query.number', $id + 1);
}
- $queryParams['name'] = $name;
if (!empty($params['get']) && is_string($params['get'])) {
$queryParams['get'] = htmlspecialchars_decode($params['get'], ENT_QUOTES);
}
@@ -399,6 +398,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
$queryParams['shareOpml'] = (bool)$params['shareOpml'];
}
$queryParams['url'] = Minz_Url::display(['params' => $queryParams]);
+ $queryParams['name'] = $name;
$queries = FreshRSS_Context::userConf()->queries;
$queries[$id] = (new FreshRSS_UserQuery($queryParams, FreshRSS_Context::categories(), FreshRSS_Context::labels()))->toArray();
@@ -442,6 +442,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
$queries[$key] = (new FreshRSS_UserQuery($query, FreshRSS_Context::categories(), FreshRSS_Context::labels()))->toArray();
}
$params = $_GET;
+ unset($params['name']);
unset($params['rid']);
$params['url'] = Minz_Url::display(['params' => $params]);
$params['name'] = _t('conf.query.number', count($queries) + 1);