diff options
| author | 2013-11-19 09:16:08 +0100 | |
|---|---|---|
| committer | 2013-11-19 09:16:08 +0100 | |
| commit | 863e4a8ef85b4f1b2c31068ef2cba0885df54e00 (patch) | |
| tree | 6ee7a879b0a6bc3ed5ed61a3b1562bc8bd152d57 /app/layout | |
| parent | 9de5cacf1742ba30908f12175fa9cf59d9b84e44 (diff) | |
Correction onread_jump_next
Suite au nouvel identifiant entier pour les catégories et les flux
https://github.com/marienfressinaud/FreshRSS/issues/262
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/nav_menu.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |
