diff --git a/jsonld.php b/jsonld.php index 1e3c632..d790814 100644 --- a/jsonld.php +++ b/jsonld.php @@ -1,7 +1,7 @@ {$o->value} = (object)array('@id' => $o->value); } - if($p === self::RDF_TYPE && $object_is_id) { + if($p === self::RDF_TYPE && !$options['useRdfType'] && $object_is_id) { self::addValue( $node, '@type', $o->value, array('propertyIsArray' => true)); continue;