aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-22 19:36:55 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-22 19:36:55 +0200
commitdb1ad1de233ac7a0e0674c6e64a6a01f3d0e8fbe (patch)
tree079dbf8bd0e41875dd74f0c2379d98ff69dd849f /app/Models/Context.php
parent00bad6e6442ec3664cbc5a2438a3432962544b5a (diff)
Fix a bug in nextGet
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index 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;
}
}