forked from friendica/php-json-ld
Fix error message.
This commit is contained in:
parent
809a4d31ce
commit
ab71b33c3f
|
@ -298,7 +298,7 @@ function jsonld_resolve($input, $resolver)
|
||||||
if($tmp === null)
|
if($tmp === null)
|
||||||
{
|
{
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
'Could not resolve @context URL ("$url"), ' .
|
"Could not resolve @context URL ('$url'), " .
|
||||||
'malformed JSON detected.');
|
'malformed JSON detected.');
|
||||||
}
|
}
|
||||||
$urls[$url] = $tmp->{'@context'};
|
$urls[$url] = $tmp->{'@context'};
|
||||||
|
|
Loading…
Reference in a new issue