Merge branch 'master' into 'master'
Update API See merge request tt-rss/tt-rss!5
This commit is contained in:
commit
3468317bd3
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
class API extends Handler {
|
||||
|
||||
const API_LEVEL = 20;
|
||||
const API_LEVEL = 21;
|
||||
|
||||
const STATUS_OK = 0;
|
||||
const STATUS_ERR = 1;
|
||||
|
@ -844,6 +844,8 @@ class API extends Handler {
|
|||
$headline_row["note"] = $line["note"];
|
||||
$headline_row["lang"] = $line["lang"];
|
||||
|
||||
$headline_row["site_url"] = $line["site_url"];
|
||||
|
||||
if ($show_content) {
|
||||
$hook_object = ["headline" => &$headline_row];
|
||||
|
||||
|
|
Loading…
Reference in New Issue