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.
This is a trivial patch against HEAD that fixes a spurious warning in views_taxonomy.inc, resulting from trying to implode()
an empty array:
warning: implode() [function.implode]: Bad arguments. in modules/views/modules/views_taxonomy.inc on line 257.
warning: implode() [function.implode]: Bad arguments. in modules/views/modules/views_taxonomy.inc on line 257.
warning: implode() [function.implode]: Bad arguments. in modules/views/modules/views_taxonomy.inc on line 257.
...
The warning is generated (with 5.x-1.3-beta1, but HEAD has the same issue) when showing a table view that has taxonomy fields, and not all nodes have terms selected in those taxonomy fields.
Comment | File | Size | Author |
---|---|---|---|
views_taxonomy_allterms.patch | 356 bytes | Arto | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedApplied for 1.4. Thanks
Comment #2
(not verified) CreditAttribution: commented