1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-10 02:49:15 +00:00

API should return excerpt when asked

This commit is contained in:
Matt Haley
2013-08-04 10:41:29 -07:00
parent f612dbe8a0
commit 64595782ff

View File

@@ -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) {