소스 검색

Fix favorite cat doesn't change state button

Fix https://github.com/marienfressinaud/FreshRSS/issues/632
Marien Fressinaud 11 년 전
부모
커밋
a12d90d85d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/layout/nav_menu.phtml

+ 1 - 1
app/layout/nav_menu.phtml

@@ -49,7 +49,7 @@
 		</a>
 
 		<?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;
 				$checked = 'true';
 				$class = 'active';