Fix tag in user query (#3168)

* Fix tag in user query

#fix https://github.com/FreshRSS/FreshRSS/issues/3163

* Fix Travis
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2020-09-02 08:55:43 +02:00
1 parent e527afa2fa
commit 6fac0e40c4
3 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -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 {