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.
We restructured the flattenKeys() function for the LTR module.
Unfortunately explode(' ', $query_fields_boosted);
evaluates to ['']
in case query_fields_boosted
contains an empty string. But the following code "expects" an empty array, in other words []
.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3076406.patch | 1.33 KB | mkalkbrenner |
Comments
Comment #2
mkalkbrennerHere's a quick fix.
Comment #4
mkalkbrenner