From 7099ce5d805ed13384c62c236839c66a42213ef3 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 14 Sep 2013 21:29:23 -0400 Subject: [PATCH] Fix typo. --- jsonld.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonld.php b/jsonld.php index 072524f..386586c 100644 --- a/jsonld.php +++ b/jsonld.php @@ -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',