diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/river2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river2.php b/engine/lib/river2.php index d70f1e73b..d3d285aac 100644 --- a/engine/lib/river2.php +++ b/engine/lib/river2.php @@ -238,7 +238,7 @@ $offset = (int) get_input('offset',0);
// Get river items, if they exist
- if ($riveritems = get_river_items($subject_guid,$object_guid,$subject_relationship,$type,$subtype,$action_type,$limit,$offset,$posted_min,$posted_max)) {
+ if ($riveritems = get_river_items($subject_guid,$object_guid,$subject_relationship,$type,$subtype,$action_type,($limit + 1),$offset,$posted_min,$posted_max)) {
return elgg_view('river/item/list',array(
'limit' => $limit,
|