From a12d90d85d86c168a6e8a13345f05897f17958a4 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 24 Sep 2014 14:41:44 +0200 Subject: Fix favorite cat doesn't change state button Fix https://github.com/marienfressinaud/FreshRSS/issues/632 --- app/layout/nav_menu.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index af2323325..a9e6614e7 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -49,7 +49,7 @@ state & FreshRSS_Entry::STATE_FAVORITE) { + if ($this->state & FreshRSS_Entry::STATE_FAVORITE || $this->get_c == 's') { $url_state['params']['state'] = $this->state & ~FreshRSS_Entry::STATE_FAVORITE; $checked = 'true'; $class = 'active'; -- cgit v1.2.3