From 252703305758e2ed0e6257ae94fdb3b4b90f7184 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 3 Jan 2026 16:52:33 +0100 Subject: Fix unwanted expansion of user queries in some cases (#8395) fix https://github.com/FreshRSS/FreshRSS/issues/8378 --- app/Models/UserQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/UserQuery.php') diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index 154f4d92c..919330e64 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -123,7 +123,7 @@ class FreshRSS_UserQuery { 'get' => $this->get, 'name' => $this->name, 'order' => $this->order, - 'search' => $this->search->__toString(), + 'search' => $this->search->toString(expandUserQueries: false), 'state' => $this->state, 'url' => $this->url, 'token' => $this->token, @@ -221,7 +221,7 @@ class FreshRSS_UserQuery { * Check if there is a search in the search object */ public function hasSearch(): bool { - return $this->search->__toString() !== ''; + return $this->search->toString() !== ''; } public function getGet(): string { -- cgit v1.2.3