From 5299404f6269b69beab2804f3444e41199dbebc8 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 30 Jun 2012 21:36:03 -0400 Subject: [PATCH] Fix list term check. --- jsonld.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsonld.php b/jsonld.php index 024e138..8cf3019 100644 --- a/jsonld.php +++ b/jsonld.php @@ -3029,7 +3029,8 @@ class JsonLdProcessor { continue; } // skip @list containers for non-@lists - if(!$is_list && $has_container && $entry->{'@container'} === '@list') { + if(!$is_list && $has_container && $entry->{'@container'} === '@list' && + $value !== null) { continue; } // for @lists, if list_container is set, skip non-list containers