A free, self-hostable news aggregator…
Fix a bug in nextGet
Marien Fressinauddb1ad1de233a
diff --git a/app/Models/Context.php b/app/Models/Context.phpindex 3d184dcaa..d4aeee7ac 100644--- a/app/Models/Context.php+++ b/app/Models/Context.php@@ -192,9 +192,9 @@ class FreshRSS_Context {break;}- self::$next_get['get'] = empty($another_unread_id) ?- 'c_' . self::$current_get['category'] :- 'f_' . $another_unread_id;+ self::$next_get = empty($another_unread_id) ?+ 'c_' . self::$current_get['category'] :+ 'f_' . $another_unread_id;break;case 'c':foreach (self::$categories as $cat) {@@ -211,9 +211,9 @@ class FreshRSS_Context {}}- self::$next_get['get'] = empty($another_unread_id) ?- 'a' :- 'c_' . $another_unread_id;+ self::$next_get = empty($another_unread_id) ?+ 'a' :+ 'c_' . $another_unread_id;break;}}