Closed (fixed)
Project:
Location
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2007 at 23:57 UTC
Updated:
7 Mar 2008 at 21:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
chrissearle commentedThe code is in location.inc - function _location_nothing_to_show
If you replace
foreach (array('street', 'city', 'province', 'postal_code', 'country') as $field) {with
foreach (array('name', 'street', 'city', 'province', 'postal_code', 'country') as $field) {you'll get what you want :)
Not sure how to submit this as a patch tho.
Comment #2
manerhabe commentedThanks, don't know how I missed that one! I created a patch. There are details at http://drupal.org/patch/create.
Comment #3
bdragon commentedSince the new system doesn't save empty locations (in theory), this shouldn't be a problem... In any case, the function in question is going away.