Browse Source

Fix favorite cat doesn't change state button

Fix https://github.com/marienfressinaud/FreshRSS/issues/632
Marien Fressinaud 11 years ago
parent
commit
a12d90d85d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/layout/nav_menu.phtml

+ 1 - 1
app/layout/nav_menu.phtml

@@ -49,7 +49,7 @@
 		</a>
 		</a>
 
 
 		<?php
 		<?php
-			if ($this->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;
 				$url_state['params']['state'] = $this->state & ~FreshRSS_Entry::STATE_FAVORITE;
 				$checked = 'true';
 				$checked = 'true';
 				$class = 'active';
 				$class = 'active';