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.
Notice: Undefined variable: dash_index in location_get_postalcode_data_de() in supported/location.de.inc).
It is caused by the line:
$dash_index == strpos($location['postal_code'], '-');
Which should only have a single =
Comment | File | Size | Author |
---|---|---|---|
#3 | UndefinedVariableFixInDash_indexLocation.de_.inc-1056030-1.patch | 623 bytes | thissideup |
Comments
Comment #1
Reen CreditAttribution: Reen commentedWhy does noone fix this? Every time I install a new version I have to fix this nasty bug myself.
Comment #2
ankur CreditAttribution: ankur commented@Reen in #1:
I'm glad you're able to fix this bug. Please submit a patch using the instructions here:
http://drupal.org/project/location/git-instructions
Comment #3
thissideup CreditAttribution: thissideup commentedstumbled upon it in the latest d7 as well. patched as Reen suggested and works. patch needs d6 port and review.
Comment #4
ankur CreditAttribution: ankur commentedThanks for the patch. Applied to 6.x-3.x/7.x-3.x/7.x-5.x