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 commentedWhy does noone fix this? Every time I install a new version I have to fix this nasty bug myself.
Comment #2
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 commentedstumbled upon it in the latest d7 as well. patched as Reen suggested and works. patch needs d6 port and review.
Comment #4
ankur commentedThanks for the patch. Applied to 6.x-3.x/7.x-3.x/7.x-5.x