diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-28 06:44:56 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2011-01-28 06:44:56 +0000 |
commit | 19aac3d24a53711f90c8c27cc52142a7b4ec15e8 (patch) | |
tree | 33d96827bd25706c2403d2d58f361b1636a9f143 | |
parent | e830c0e095131281e5b8b5aa8ac03ef7fa24583d (diff) | |
download | brdo-19aac3d24a53711f90c8c27cc52142a7b4ec15e8.tar.gz brdo-19aac3d24a53711f90c8c27cc52142a7b4ec15e8.tar.bz2 |
#932426 by duellj: Fix second file uploaded is displayed when display option is unchecked.
-rw-r--r-- | modules/file/file.field.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/file/file.field.inc b/modules/file/file.field.inc index c20fe7741..385114c00 100644 --- a/modules/file/file.field.inc +++ b/modules/file/file.field.inc @@ -203,9 +203,9 @@ function file_field_prepare_view($entity_type, $entities, $field, $instances, $l if (!file_field_displayed($item, $field)) { unset($items[$id][$delta]); } - // Ensure consecutive deltas. - $items[$id] = array_values($items[$id]); } + // Ensure consecutive deltas. + $items[$id] = array_values($items[$id]); } } |