From 7e243d9afa7fad8cd446ae01b932344af978002c Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 31 Mar 2019 17:07:14 +0200 Subject: [PATCH] fixed error in hashbang resolver --- api/api_default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_default.php b/api/api_default.php index ae86a49..64ca1c9 100644 --- a/api/api_default.php +++ b/api/api_default.php @@ -96,7 +96,7 @@ abstract class api_default extends api_system implements api_default_interface { } } if(!$found){ - $node = $head->appendChild($html->createElement('meta')); + $node = $html->getElementsByTagName('head')[0]->appendChild($html->createElement('meta')); $node->setAttribute($key, $metavalue);} } }