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 =

Comments

Why does noone fix this? Every time I install a new version I have to fix this nasty bug myself.

@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

Status:Active» Patch (to be ported)
StatusFileSize
new623 bytes

stumbled upon it in the latest d7 as well. patched as Reen suggested and works. patch needs d6 port and review.

Status:Patch (to be ported)» Closed (fixed)

Thanks for the patch. Applied to 6.x-3.x/7.x-3.x/7.x-5.x