Merge pull request #279 from mhaley/patch-1

API should return excerpt when asked
This commit is contained in:
Andrew Dolgov 2013-08-06 04:58:43 -07:00
commit 05a1939bbd
1 changed files with 1 additions and 1 deletions

View File

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