diff --git a/classes/api.php b/classes/api.php
index 342ad54ccff0dbf1a122d2c6d5a1bb5bdb7d50d4..d7036189acdc0a03c0caf206b7f4583b5afb91c6 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -352,7 +352,7 @@ class API extends Handler {
 					$article["content"] = $line["content"];
 				}
 
-				$hook_object = ["article" => $article];
+				$hook_object = ["article" => &$article];
 
 				PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_RENDER_ARTICLE_API,
 					function ($result) use (&$article) {
@@ -785,7 +785,7 @@ class API extends Handler {
 					$headline_row["note"] = $line["note"];
 					$headline_row["lang"] = $line["lang"];
 
-					$hook_object = ["headline" => $headline_row];
+					$hook_object = ["headline" => &$headline_row];
 
 					PluginHost::getInstance()->chain_hooks_callback(PluginHost::HOOK_RENDER_ARTICLE_API,
 						function ($result) use (&$headline_row) {