From 863e4a8ef85b4f1b2c31068ef2cba0885df54e00 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 19 Nov 2013 09:16:08 +0100 Subject: Correction onread_jump_next MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suite au nouvel identifiant entier pour les catégories et les flux https://github.com/marienfressinaud/FreshRSS/issues/262 --- app/layout/nav_menu.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/layout') diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 5c5ee876a..133f60edf 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -32,7 +32,7 @@ $anotherUnreadId = $cat->id (); if ($foundCurrent) break; } - $nextGet = strlen ($anotherUnreadId) > 1 ? 'c_' . $anotherUnreadId : 'all'; + $nextGet = empty ($anotherUnreadId) ? 'all' : 'c_' . $anotherUnreadId; break; case 'f': foreach ($this->cat_aside as $cat) { @@ -49,7 +49,7 @@ break; } } - $nextGet = strlen ($anotherUnreadId) > 1 ? 'f_' . $anotherUnreadId : 'c_' . $this->get_c; + $nextGet = empty ($anotherUnreadId) ? 'c_' . $this->get_c : 'f_' . $anotherUnreadId; break; } } -- cgit v1.2.3