Ensure cached active context is cloned.

This commit is contained in:
Dave Longley 2013-09-19 16:34:53 -04:00
parent fc1f543b49
commit 7c5f07607f

View file

@ -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);
} }
} }