forked from friendica/php-json-ld
Ensure cached active context is cloned.
This commit is contained in:
parent
fc1f543b49
commit
7c5f07607f
|
@ -5848,7 +5848,7 @@ class ActiveContextCache {
|
||||||
if(!property_exists($this->cache, $key1)) {
|
if(!property_exists($this->cache, $key1)) {
|
||||||
$this->cache->{$key1} = new stdClass();
|
$this->cache->{$key1} = new stdClass();
|
||||||
}
|
}
|
||||||
$this->cache->{$key1}->{$key2} = $result;
|
$this->cache->{$key1}->{$key2} = JsonLdProcessor::copy($result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue