aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/views')
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/form.php b/mod/reportedcontent/views/default/reportedcontent/form.php
index c7e37ed36..83076c282 100644
--- a/mod/reportedcontent/views/default/reportedcontent/form.php
+++ b/mod/reportedcontent/views/default/reportedcontent/form.php
@@ -15,7 +15,7 @@ if ($address == "previous") {
$tags = array();
$access_id = ACCESS_PRIVATE;
$shares = array();
-$owner = get_loggedin_user();
+$owner = elgg_get_logged_in_user_entity();
?>
<form action="<?php echo elgg_get_site_url(); ?>action/reportedcontent/add" method="post" class="mtm">