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.
Problem/Motivation
Code does not conform to Write E_ALL compliant code and generates notices.
Proposed resolution
Use the attached patch. The patch simply ensures that in site-map.tpl.php, appropriate use is made of empty().
Comment | File | Size | Author |
---|---|---|---|
e-notice-sitemap.patch | 1.57 KB | chriscohen | |
Comments
Comment #1
amitgoyal CreditAttribution: amitgoyal commentedThanks for the patch @chriscohen. I have ported the patch into 6.x-2.x-dev - http://drupal.org/commitlog/commit/342/2fb0097e97234681e271f7db7b9740272...