aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/subscriptionController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2026-01-03 16:52:33 +0100
committerGravatar GitHub <noreply@github.com> 2026-01-03 16:52:33 +0100
commit252703305758e2ed0e6257ae94fdb3b4b90f7184 (patch)
tree058b449bda17aef10eefbaadd38741161b47cb2b /app/Controllers/subscriptionController.php
parentf0769d6e557320c6af93f7f589f9dbf05a96ca47 (diff)
Fix unwanted expansion of user queries in some cases (#8395)
fix https://github.com/FreshRSS/FreshRSS/issues/8378
Diffstat (limited to 'app/Controllers/subscriptionController.php')
-rw-r--r--app/Controllers/subscriptionController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php
index 02942583f..eb9fbf58f 100644
--- a/app/Controllers/subscriptionController.php
+++ b/app/Controllers/subscriptionController.php
@@ -421,7 +421,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
$actionsSearch = new FreshRSS_BooleanSearch('', operator: 'AND');
foreach ($filteractions as $action) {
$actionSearch = new FreshRSS_BooleanSearch($action, operator: 'OR');
- if ($actionSearch->__toString() === '') {
+ if ($actionSearch->toString() === '') {
continue;
}
$actionsSearch->add($actionSearch);
@@ -433,7 +433,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
'c' => 'index',
'a' => 'index',
'params' => [
- 'search' => $search->__toString(),
+ 'search' => $search->toString(),
],
], redirect: true);
}