From 3d7a5c6c6ceb99f1b4b391abee905710307c9df6 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 6 Aug 2011 23:56:43 -0400 Subject: [PATCH] Passed merging subjects in normalization test. --- jsonld.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsonld.php b/jsonld.php index 82213ca..fa1f2b8 100644 --- a/jsonld.php +++ b/jsonld.php @@ -1321,6 +1321,10 @@ function _flatten($parent, $parentProperty, $value, $subjects) { $subject->$key = new ArrayObject(array($subject->$key)); } + else + { + $subject->$key = new ArrayObject($subject->$key); + } } else {