aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/actions')
-rw-r--r--mod/reportedcontent/actions/add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/reportedcontent/actions/add.php b/mod/reportedcontent/actions/add.php
index 7c60cdf22..f0a1b05c8 100644
--- a/mod/reportedcontent/actions/add.php
+++ b/mod/reportedcontent/actions/add.php
@@ -13,7 +13,7 @@ if ($title && $address) {
$report = new ElggObject;
$report->subtype = "reported_content";
- $report->owner_guid = get_loggedin_userid();
+ $report->owner_guid = elgg_get_logged_in_user_guid();
$report->title = $title;
$report->address = $address;
$report->description = $description;