diff options
author | Andrew Dolgov <[email protected]> | 2013-11-29 13:54:30 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-11-29 13:54:30 +0400 |
commit | bf5bcb8e272feb19103d601d29f17cb9917e95c3 (patch) | |
tree | e9335b44187b28bd42fee08b709be39851b62d2d /classes/handler/public.php | |
parent | 25237aea4371cfa3096e525aed25c432ca067190 (diff) |
queryFeedHeadlines: remove obsolete content_preview
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r-- | classes/handler/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index 86e58fd68..037e6bf0f 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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); |