diff options
author | Andrew Dolgov <[email protected]> | 2013-03-30 18:24:32 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-30 18:24:32 +0400 |
commit | 583dbc56953afbad6ccae5e3add15160e23b68e4 (patch) | |
tree | 21b0669fb7b14b5d21aedc349f291b5233f3368e | |
parent | 842c2ab4511d4feb65f295340137aebf424523a3 (diff) |
api: add author to getHeadlines
-rw-r--r-- | classes/api.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/api.php b/classes/api.php index 3b99b79f6..0e56e58f9 100644 --- a/classes/api.php +++ b/classes/api.php @@ -664,6 +664,8 @@ class API extends Handler { $headline_row["always_display_attachments"] = sql_bool_to_bool($line["always_display_enclosures"]); + $headline_row["author"] = $line["author"]; + global $pluginhost; foreach ($pluginhost->get_hooks($pluginhost::HOOK_RENDER_ARTICLE_API) as $p) { $headline_row = $p->hook_render_article_api($headline_row); |