diff --git a/fp-plugins/lastcomments/plugin.lastcomments.php b/fp-plugins/lastcomments/plugin.lastcomments.php index a3b2c87..1f6c72e 100644 --- a/fp-plugins/lastcomments/plugin.lastcomments.php +++ b/fp-plugins/lastcomments/plugin.lastcomments.php @@ -49,8 +49,6 @@ function plugin_lastcomments_widget() { continue; } - comment_clean($arr); - $content .= "
@@ -102,6 +100,8 @@ function plugin_lastcomments_cache($entryid, $comment) { list($id, $content) = $comment; + comment_clean($content); + if (false===($f = io_load_file(LASTCOMMENTS_CACHE_FILE))) { // no comments in cache