Fix typo.

This commit is contained in:
Dave Longley 2013-09-14 21:29:23 -04:00
parent 4ddb4e8c2c
commit 7099ce5d80
1 changed files with 1 additions and 1 deletions

View File

@ -2207,7 +2207,7 @@ class JsonLdProcessor {
// syntax error if @id is not a string
if($expanded_property === '@id' && !is_string($value)) {
if(!isset($options['isFrame']) && !$options['isFrame']) {
if(!isset($options['isFrame']) || !$options['isFrame']) {
throw new JsonLdException(
'Invalid JSON-LD syntax; "@id" value must a string.',
'jsonld.SyntaxError', 'invalid @id value',