From 73ed4ae8513af1cc6e795b125cc1f319a965bfb4 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 12 Mar 2010 17:03:51 +0000 Subject: Merged Cash's bugfixes from the 1.7 branch (3288:5377). git-svn-id: http://code.elgg.org/elgg/trunk@5378 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod/file/index.php') diff --git a/mod/file/index.php b/mod/file/index.php index e76583f0f..af3d4c471 100644 --- a/mod/file/index.php +++ b/mod/file/index.php @@ -28,7 +28,8 @@ // Get objects set_context('search'); - $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => page_owner(), 'limit' => 10, 'full_view' => FALSE)); + $offset = (int)get_input('offset', 0); + $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'container_guid' => page_owner(), 'limit' => 10, 'offset' => $offset, 'full_view' => FALSE)); set_context('file'); $get_filter = get_filetype_cloud(page_owner()); if ($get_filter) { -- cgit v1.2.3