Ensure expanded frame is properly traversed for @list.

This commit is contained in:
Dave Longley 2013-08-06 13:28:25 -04:00
parent 7c7b9ae3be
commit 090183dccc

View file

@ -3563,7 +3563,7 @@ class JsonLdProcessor {
// recurse into subject reference // recurse into subject reference
if(self::_isSubjectReference($o)) { if(self::_isSubjectReference($o)) {
$this->_matchFrame( $this->_matchFrame(
$state, array($o->{'@id'}), $frame->{$prop}, $state, array($o->{'@id'}), $frame->{$prop}[0]->{'@list'},
$list, '@list'); $list, '@list');
} }
// include other values automatically // include other values automatically