1
0

For the future: Always indicate source of where frontend_display is called. Thanks to Karotte.

This commit is contained in:
Garvin Hicking
2007-07-08 20:07:41 +00:00
parent d419461f16
commit 7f7afb21a2
4 changed files with 8 additions and 4 deletions

View File

@ -274,7 +274,8 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
$comment['url'] = htmlspecialchars($comment['url'], ENT_QUOTES);
}
serendipity_plugin_api::hook_event('frontend_display', $comment);
$addData = array('from' => 'functions_entries:printComments');
serendipity_plugin_api::hook_event('frontend_display', $comment, $addData);
if (isset($comment['no_email']) && $comment['no_email']) {
$comment['email'] = false;