]> git.wh0rd.org Git - tt-rss.git/commitdiff
fixed a typo
authorjustauser <justausr@hotmail.com>
Sat, 29 Jun 2013 07:11:38 +0000 (03:11 -0400)
committerjustauser <justausr@hotmail.com>
Sat, 29 Jun 2013 07:11:38 +0000 (03:11 -0400)
classes/handler/public.php

index 08f35e21264d966567e6b0f9f6293d95552485db..810f4c034518de758cb4e99a127c1dac25232781 100644 (file)
@@ -166,7 +166,7 @@ class Handler_Public extends Handler {
                        $feed['articles'] = array();
 
                        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) {
                                        $line = $p->hook_query_headlines($line, 100);
                                }