From 6fac0e40c4d3bc0e51a124015dcde9b7d766f7b5 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 2 Sep 2020 08:55:43 +0200 Subject: Fix tag in user query (#3168) * Fix tag in user query #fix https://github.com/FreshRSS/FreshRSS/issues/3163 * Fix Travis --- app/Models/UserQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/UserQuery.php') diff --git a/app/Models/UserQuery.php b/app/Models/UserQuery.php index f607084f8..b882a4680 100644 --- a/app/Models/UserQuery.php +++ b/app/Models/UserQuery.php @@ -153,7 +153,7 @@ class FreshRSS_UserQuery { if ($this->tag_dao == null) { throw new FreshRSS_DAO_Exception('Tag DAO is not loaded in UserQuery'); } - $category = $this->category_dao->searchById($id); + $tag = $this->tag_dao->searchById($id); if ($tag) { $this->get_name = $tag->name(); } else { -- cgit v1.2.3