Skip to content

A free, self-hostable news aggregator…

Fix favorite cat doesn't change state button

Marien Fressinauda12d90d85d86
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 @@
</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';