aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index 360f64d1f..cea8b6bd5 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -364,7 +364,7 @@ function file_embed_get_sections($hook, $type, $value, $params) {
*/
function file_embed_get_items($hook, $type, $value, $params) {
$options = array(
- 'owner_guid' => get_loggedin_userid(),
+ 'owner_guid' => elgg_get_logged_in_user_guid(),
'type_subtype_pair' => array('object' => 'file'),
'count' => TRUE
);