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.
The code that reduces the array to its first item will fail to do so if the first item is blank. One possible reason this might happen is if you have an entry like [token1],[token2] and sometimes [token1] doesn't get populated.
This is coming from the code that removes blank items not reindexing the array, so the first item might not be at [0] in the code as written.
A patch will be added shortly that reindexes the array.
Comment | File | Size | Author |
---|---|---|---|
#2 | first-blank-fix-2853251-1.patch | 666 bytes | kpaxman |
|
Comments
Comment #2
kpaxman CreditAttribution: kpaxman commentedComment #3
kpaxman CreditAttribution: kpaxman commentedComment #5
DamienMcKennaCommitted. Thanks.