aboutsummaryrefslogtreecommitdiffstats
path: root/include/picture_comment.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/picture_comment.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php
index 70dfa8ef6..eabdff1f0 100644
--- a/include/picture_comment.inc.php
+++ b/include/picture_comment.inc.php
@@ -73,7 +73,7 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) )
}
// allow plugins to notify what's going on
- trigger_action( 'user_comment_insertion',
+ trigger_notify( 'user_comment_insertion',
array_merge($comm, array('action'=>$comment_action) )
);
}
@@ -181,9 +181,9 @@ SELECT
$tpl_comment =
array(
'ID' => $row['id'],
- 'AUTHOR' => trigger_event('render_comment_author', $row['author']),
+ 'AUTHOR' => trigger_change('render_comment_author', $row['author']),
'DATE' => format_date($row['date'], true),
- 'CONTENT' => trigger_event('render_comment_content',$row['content']),
+ 'CONTENT' => trigger_change('render_comment_content',$row['content']),
'WEBSITE_URL' => $row['website_url'],
);