From 64595782ff0c3cd131b2c59bf7f246c3f285311b Mon Sep 17 00:00:00 2001 From: Matt Haley Date: Sun, 4 Aug 2013 10:41:29 -0700 Subject: [PATCH] API should return excerpt when asked --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/api.php b/classes/api.php index 4330b3dc..bbbcbb5a 100644 --- a/classes/api.php +++ b/classes/api.php @@ -669,7 +669,7 @@ class API extends Handler { $headline_row['attachments'] = get_article_enclosures( $line['id']); - if (!$show_excerpt) + if ($show_excerpt) $headline_row["excerpt"] = $line["content_preview"]; if ($show_content) { -- 2.39.5