summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index 255de52d4..c595f2f91 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -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];