Fix the URL used to look up locations on the profile pages.
This commit is contained in:
parent
2d3a0012d2
commit
3217ff6290
1
CHANGES
1
CHANGES
|
@ -22,6 +22,7 @@ v2.38 (Unreleased)
|
|||
[fix] Script errors when adding/editing equipment
|
||||
[fix] Fix a couple of straggling warnings.
|
||||
[fix] Bulk update was broken due to earlier theme changes.
|
||||
[fix] Fix URL on the profile location pages.
|
||||
|
||||
v2.37.1 (December 3, 2012)
|
||||
|
||||
|
|
|
@ -373,8 +373,8 @@ order by country, state, city, place");
|
|||
if ($r[1] == 'Unknown') {
|
||||
$foo = $strings['generic_unknown'];
|
||||
} else {
|
||||
$foo = "$r[1] $r[2] $r[3] $r[4]";
|
||||
$foo = emit_a("http://maps.google.com/maps?q=$foo=h", $foo, "target=\"_new\"");
|
||||
$foo = join(" ", array_slice($r, 1, 4));
|
||||
$foo = emit_a("http://maps.google.com/maps?q=$foo&t=h", $foo, "target=\"_new\"");
|
||||
}
|
||||
|
||||
print emit_td($foo);
|
||||
|
|
Loading…
Reference in New Issue