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
2020-09-02 08:55:43 +02:00
committed by GitHub
parent e527afa2fa
commit 6fac0e40c4
3 changed files with 5 additions and 1 deletions

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 {