aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/indexController.php')
-rwxr-xr-xapp/Controllers/indexController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 48471b480..52dd01e0a 100755
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -96,6 +96,10 @@ class FreshRSS_index_Controller extends Minz_ActionController {
case 'a':
$hasUnread = $this->view->nb_not_read > 0;
break;
+ case 's':
+ // This is deprecated. The favorite button does not exist anymore
+ $hasUnread = $this->view->nb_favorites['unread'] > 0;
+ break;
case 'c':
$hasUnread = (!isset($this->view->cat_aside[$getId])) || ($this->view->cat_aside[$getId]->nbNotRead() > 0);
break;