Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
You need to check if any items are actually available in the CCK field, otherwise you run into issues when trying to display them. As its valid having not items ( so no display ), you need to just apply the patch.
Greate module and thanks for your effort in the last couple of weeks!
Comment | File | Size | Author |
---|---|---|---|
galleryformatter.patch | 496 bytes | EugenMayer |
Comments
Comment #1
Manuel Garcia CreditAttribution: Manuel Garcia commentedThanks for reporting EugenMayer, I believe this was actually fixed recently, see #826896: PHP warning when no images exists and the commits from June 14, 2010 http://drupal.org/project/cvs/794682
So this should be fixed in the dev version. Although your way of doing it might be a bit cleaner to maintain, true. Feel free to reopen if this is stil the case in the latest dev.
Comment #2
EugenMayer CreditAttribution: EugenMayer commentedWell i guess my patch is shorter and maybe slightly better - but i guess both will work out. Thank you.