aboutsummaryrefslogtreecommitdiff
path: root/mod/file/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/upload.php')
-rw-r--r--mod/file/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/upload.php b/mod/file/upload.php
index 6f9d3d750..a4cd4e01e 100644
--- a/mod/file/upload.php
+++ b/mod/file/upload.php
@@ -14,7 +14,7 @@
// Render the file upload page
- $container_guid = page_owner();
+ $container_guid = elgg_get_page_owner_guid();
$area1 = elgg_view_title($title = elgg_echo('file:upload'));
$area1 .= elgg_view("file/upload", array('container_guid' => $container_guid));
$body = elgg_view_layout('one_column_with_sidebar', $area1);