diff --git a/mod/reportedcontent/actions/reportedcontent/add.php b/mod/reportedcontent/actions/reportedcontent/add.php index f45a500eb52..dff05fb6fec 100644 --- a/mod/reportedcontent/actions/reportedcontent/add.php +++ b/mod/reportedcontent/actions/reportedcontent/add.php @@ -18,7 +18,7 @@ $report = new ElggReportedContent(); $report->owner_guid = elgg_get_logged_in_user_guid(); $report->title = $title; -$report->address = $address; +$report->address = elgg_normalize_site_url($address); $report->description = $description; $report->access_id = $access;