API should return excerpt when asked

master
Matt Haley 11 years ago
parent f612dbe8a0
commit 64595782ff

@ -669,7 +669,7 @@ class API extends Handler {
$headline_row['attachments'] = get_article_enclosures( $headline_row['attachments'] = get_article_enclosures(
$line['id']); $line['id']);
if (!$show_excerpt) if ($show_excerpt)
$headline_row["excerpt"] = $line["content_preview"]; $headline_row["excerpt"] = $line["content_preview"];
if ($show_content) { if ($show_content) {

Loading…
Cancel
Save