Remove unused base flag.

This commit is contained in:
Dave Longley 2013-02-11 16:00:44 -05:00
parent 1bcef39068
commit d1d437b9b7

View file

@ -1477,14 +1477,14 @@ class JsonLdProcessor {
if(is_string($expanded_value)) {
$compacted_value = $this->_compactIri(
$active_ctx, $expanded_value, null, array(
'base' => true, 'vocab' => ($expanded_property === '@type')));
'vocab' => ($expanded_property === '@type')));
}
// expanded value must be a @type array
else {
$compacted_value = array();
foreach($expanded_value as $ev) {
$compacted_value[] = $this->_compactIri(
$active_ctx, $ev, null, array('base' => true, 'vocab' => true));
$active_ctx, $ev, null, array('vocab' => true));
}
}