mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-13 20:11:07 +02:00
Merge pull request #279 from mhaley/patch-1
API should return excerpt when asked
This commit is contained in:
commit
05a1939bbd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user