diff --git a/classes/pref/filters.php b/classes/pref/filters.php
index c4d6fea1..18d1f383 100644
--- a/classes/pref/filters.php
+++ b/classes/pref/filters.php
@@ -96,9 +96,9 @@ class Pref_Filters extends Handler_Protected {
print "
";
print "
";
- $line["content_preview"] = truncate_string(strip_tags($line["content_preview"]), 100, '...');
-
while ($line = $this->dbh->fetch_assoc($result)) {
+ $line["content_preview"] = truncate_string(strip_tags($line["content_preview"]), 100, '...');
+
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_QUERY_HEADLINES) as $p) {
$line = $p->hook_query_headlines($line, 100);
}
@@ -122,7 +122,7 @@ class Pref_Filters extends Handler_Protected {
print " (";
print "" . $feed_title . "";
print "): ";
- print "" . $line["content_preview"] . "";
+ print "" . $content_preview . "";
print " " . mb_substr($line["date_entered"], 0, 16);
print "";