From 7c5f07607f2fef7b8b414b5ea7bd9ca20fe0e396 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Thu, 19 Sep 2013 16:34:53 -0400 Subject: [PATCH] Ensure cached active context is cloned. --- jsonld.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonld.php b/jsonld.php index 372cc17..088d8bb 100644 --- a/jsonld.php +++ b/jsonld.php @@ -5848,7 +5848,7 @@ class ActiveContextCache { if(!property_exists($this->cache, $key1)) { $this->cache->{$key1} = new stdClass(); } - $this->cache->{$key1}->{$key2} = $result; + $this->cache->{$key1}->{$key2} = JsonLdProcessor::copy($result); } }