summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefkev <[email protected]>2023-05-21 04:55:25 +0200
committerdefkev <[email protected]>2023-05-21 04:55:25 +0200
commit5bfd18d3e680719470f214f77667146eebca7094 (patch)
tree927b2e197160a2d32d5e16f98979e97a019ace61
parenta4543de3ac4b8b4e81f317a5ebb0d88004e3884c (diff)
Update API
Add site_url property for 9e169dc3aa7c7e30c11d7d3d1bbc4bc66fa39760
-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];