]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler/public.php
queryFeedHeadlines: remove obsolete content_preview
[tt-rss.git] / classes / handler / public.php
index 86e58fd6863aaa26005e2a9a7137fdb99baf3a5e..037e6bf0f46cc767abc845c2425fba3da4eefe26 100644 (file)
@@ -91,7 +91,7 @@ class Handler_Public extends Handler {
 
                        $tpl->setVariable('SELF_URL', htmlspecialchars(get_self_url_prefix()), true);
                        while ($line = $this->dbh->fetch_assoc($result)) {
-                               $line["content_preview"] = truncate_string(strip_tags($line["content_preview"]), 100, '...');
+                               $line["content_preview"] = truncate_string(strip_tags($line["content"]), 100, '...');
 
                                foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_QUERY_HEADLINES) as $p) {
                                        $line = $p->hook_query_headlines($line);