diff options
| author | 2026-01-03 16:52:33 +0100 | |
|---|---|---|
| committer | 2026-01-03 16:52:33 +0100 | |
| commit | 252703305758e2ed0e6257ae94fdb3b4b90f7184 (patch) | |
| tree | 058b449bda17aef10eefbaadd38741161b47cb2b /app/Models/UserQuery.php | |
| parent | f0769d6e557320c6af93f7f589f9dbf05a96ca47 (diff) | |
Fix unwanted expansion of user queries in some cases (#8395)
fix https://github.com/FreshRSS/FreshRSS/issues/8378
Diffstat (limited to 'app/Models/UserQuery.php')
| -rw-r--r-- | app/Models/UserQuery.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
