1
0

API improvement, prpoerly store entry reference in printentries, and

save cid for api hook
This commit is contained in:
Garvin Hicking
2009-06-11 15:38:22 +00:00
parent 1943a9b2bb
commit 9675b30fa3
2 changed files with 7 additions and 3 deletions

View File

@ -960,7 +960,7 @@ function serendipity_saveComment($id, $commentInfo, $type = 'NORMAL', $source =
fclose($fp);
}
serendipity_insertComment($id, $commentInfo, $type, $source, $ca);
$commentInfo['comment_cid'] = serendipity_insertComment($id, $commentInfo, $type, $source, $ca);
$commentInfo['comment_id'] = $id;
serendipity_plugin_api::hook_event('frontend_saveComment_finish', $ca, $commentInfo);
return true;