aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/actions/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/actions/add.php')
-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 0611f7402..138e66cb9 100644
--- a/mod/reportedcontent/actions/add.php
+++ b/mod/reportedcontent/actions/add.php
@@ -22,7 +22,7 @@
$report->access_id = $access;
if ($report->save()) {
- if (!trigger_plugin_hook('reportedcontent:add', 'system', array('report'=>$report), true)) {
+ if (!elgg_trigger_plugin_hook('reportedcontent:add', 'system', array('report'=>$report), true)) {
$report->delete();
register_error(elgg_echo('reportedcontent:failed'));
} else {