api: add author to getHeadlines
This commit is contained in:
parent
842c2ab451
commit
583dbc5695
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue