Fix error message.

This commit is contained in:
Dave Longley 2012-03-04 02:30:35 -05:00
parent 809a4d31ce
commit ab71b33c3f

View file

@ -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'};