summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index e3fcc8d3d..8e279521a 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -642,7 +642,7 @@ class API extends Handler {
$headlines = array();
while ($line = db_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, 100, true);
}