diff options
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 6050436f4..154f4d92c 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->getRawInput(), + 'search' => $this->search->__toString(), '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->getRawInput() !== ''; + return $this->search->__toString() !== ''; } public function getGet(): string { |
