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.
When a view field comes empty (NULL), views_handler_field_node::render_link() generates an empty link (self closing <a>
tag)
Comment | File | Size | Author |
---|---|---|---|
#1 | views_empty_links.patch | 6.91 KB | yched |
Comments
Comment #1
yched CreditAttribution: yched commentedOther handlers have their own render_link(), not only views_handler_field_node, of course.
Attached patch fixes all the occurrences I could find.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedGood catch. Thanks for the patch!