summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Chedemois2012-05-04 03:24:50 (GMT)
committer Yves Chedemois2012-05-04 03:24:50 (GMT)
commit34335e1197016a3d345d0bbf38a79ec419ab4f55 (patch)
tree833cd2bacd0fe1e4091f53250c3cf76c67d38514
parent386dc2324c081ee8ebaab703181b93ee60763b5d (diff)
Issue #1167004, followup by cdale, DeFr6.x-3.x
-rw-r--r--content.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/content.module b/content.module
index 7a6a6ec..d12efa8 100644
--- a/content.module
+++ b/content.module
@@ -2847,7 +2847,7 @@ function &content_get_nested_elements(&$form, $field_name) {
$results[$key][] = &$current[$key];
}
// Else push the element in our search queue.
- elseif (is_array($current[$key])) {
+ elseif (is_array($current[$key]) && !empty($current[$key])) {
$queue[] = &$current[$key];
}
}