fixed a typo

This commit is contained in:
justauser 2013-06-29 03:11:38 -04:00
parent 48c8e72008
commit 575a52874c
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class Handler_Public extends Handler {
$feed['articles'] = array(); $feed['articles'] = array();
while ($line = $this->dbh->fetch_assoc($result)) { 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_preview"]), 100, '...');
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_QUERY_HEADLINES) as $p) { foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_QUERY_HEADLINES) as $p) {
$line = $p->hook_query_headlines($line, 100); $line = $p->hook_query_headlines($line, 100);
} }