aboutsummaryrefslogtreecommitdiffstats
path: root/library/jsonld/jsonld.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-14 18:15:38 +0000
committerMario <mario@mariovavti.com>2021-10-14 18:15:38 +0000
commit532b479f96eea701080d5533e5f28acab9af76ba (patch)
treeee3f05eb968888c3ceaa4cacc4b73753875b41a7 /library/jsonld/jsonld.php
parent422dfca6d7231ad77b3bb63425ce6bb9534dd01e (diff)
downloadvolse-hubzilla-532b479f96eea701080d5533e5f28acab9af76ba.tar.gz
volse-hubzilla-532b479f96eea701080d5533e5f28acab9af76ba.tar.bz2
volse-hubzilla-532b479f96eea701080d5533e5f28acab9af76ba.zip
provide local copies of the w3.org jsonld documents - addresses issue #1637
Diffstat (limited to 'library/jsonld/jsonld.php')
-rw-r--r--library/jsonld/jsonld.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/jsonld/jsonld.php b/library/jsonld/jsonld.php
index 8cd3e7ceb..bc3ca7a31 100644
--- a/library/jsonld/jsonld.php
+++ b/library/jsonld/jsonld.php
@@ -449,7 +449,7 @@ function jsonld_default_secure_document_loader($url) {
$result = @file_get_contents($url, false, $context);
if($result === false) {
throw new JsonLdException(
- 'Could not retrieve a JSON-LD document from the URL: ' + $url,
+ 'Could not retrieve a JSON-LD document from the URL: ' . $url,
'jsonld.LoadDocumentError', 'loading document failed');
}
$link_header = array();