Fixed typos.

This commit is contained in:
Dave Longley 2011-10-14 16:24:07 -04:00
parent c8d381111b
commit 915b154d8c
1 changed files with 3 additions and 3 deletions

View File

@ -2604,10 +2604,10 @@ function _subframe(
$embed = new stdClass(); $embed = new stdClass();
$embeds->{$iri} = $embed; $embeds->{$iri} = $embed;
} }
else // replace the existing embed with a reference
else if($embed->{$parent} !== null)
{ {
// replace the existing embed with a reference and update embed info $embed->{$parent}->{$embed->key} = $value->{'@subject'};
$embed->{$parent}->{$entry->key} = $value->{'@subject'};
} }
// update embed entry // update embed entry