From: Matt Haley Date: Sun, 4 Aug 2013 17:41:29 +0000 (-0700) Subject: API should return excerpt when asked X-Git-Tag: 1.10~29^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=64595782ff0c3cd131b2c59bf7f246c3f285311b;p=tt-rss.git API should return excerpt when asked --- 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) {