Marien Fressinaud пре 11 година
родитељ
комит
db1ad1de23
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      app/Models/Context.php

+ 6 - 6
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;
 			}
 		}