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 {

View File

@@ -38,6 +38,7 @@
&.search {
// text-align: center;
// width: 50%;
input {
width: 230px;
color: $sid-font-color;
@@ -100,6 +101,7 @@
// border-left-width: 0;
// width: 3rem;
&:hover {
// background-color: $main-first-alt;
}

View File

@@ -38,6 +38,7 @@
&.search {
// text-align: center;
// width: 50%;
input {
width: 230px;
color: $sid-font-color;
@@ -100,6 +101,7 @@
// border-left-width: 0;
// width: 3rem;
&:hover {
// background-color: $main-first-alt;
}