diff options
| author | 2013-12-03 22:53:51 +0100 | |
|---|---|---|
| committer | 2013-12-03 22:53:51 +0100 | |
| commit | 018273e2720c481c699ecc5cca1cdc90599921f7 (patch) | |
| tree | e3112653abfb687dd65763839a3fc4fefff14030 /app/layout | |
| parent | 0425432271fb709d94194cfd5ca922038c175573 (diff) | |
Corrige bug marquer tous les favoris comme lus
Corrige https://github.com/marienfressinaud/FreshRSS/issues/270
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/nav_menu.phtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index c71497ced..5154b4aae 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -10,10 +10,12 @@ if ($this->get_f) { $get = 'f_' . $this->get_f; $string_mark = Translate::t ('mark_feed_read'); - } elseif ($this->get_c && - $this->get_c != 'a' && - $this->get_c != 's') { - $get = 'c_' . $this->get_c; + } elseif ($this->get_c && $this->get_c != 'a') { + if ($this->get_c === 's') { + $get = 's'; + } else { + $get = 'c_' . $this->get_c; + } $string_mark = Translate::t ('mark_cat_read'); } $nextGet = $get; |
