From d7ed051fab434592c496f3a5fd3b6fdd7d4a2f39 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sun, 18 Apr 2010 07:58:55 +0000 Subject: [PATCH] fixed escaping --- fp-plugins/lastcomments/plugin.lastcomments.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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