@@ -53,8 +53,12 @@ |
||
| 53 | 53 | { |
| 54 | 54 | $title = sprintf(_("Detailed View for %s"),$spotter_array[0]['pilot_name']); |
| 55 | 55 | $ident = $spotter_array[0]['ident']; |
| 56 | - if (isset($spotter_array[0]['latitude'])) $latitude = $spotter_array[0]['latitude']; |
|
| 57 | - if (isset($spotter_array[0]['longitude'])) $longitude = $spotter_array[0]['longitude']; |
|
| 56 | + if (isset($spotter_array[0]['latitude'])) { |
|
| 57 | + $latitude = $spotter_array[0]['latitude']; |
|
| 58 | + } |
|
| 59 | + if (isset($spotter_array[0]['longitude'])) { |
|
| 60 | + $longitude = $spotter_array[0]['longitude']; |
|
| 61 | + } |
|
| 58 | 62 | require_once('header.php'); |
| 59 | 63 | /* |
| 60 | 64 | if (isset($globalArchive) && $globalArchive) { |
@@ -53,8 +53,12 @@ |
||
| 53 | 53 | { |
| 54 | 54 | $title = sprintf(_("Detailed View for %s"),$spotter_array[0]['aircraft_owner']); |
| 55 | 55 | $ident = $spotter_array[0]['ident']; |
| 56 | - if (isset($spotter_array[0]['latitude'])) $latitude = $spotter_array[0]['latitude']; |
|
| 57 | - if (isset($spotter_array[0]['longitude'])) $longitude = $spotter_array[0]['longitude']; |
|
| 56 | + if (isset($spotter_array[0]['latitude'])) { |
|
| 57 | + $latitude = $spotter_array[0]['latitude']; |
|
| 58 | + } |
|
| 59 | + if (isset($spotter_array[0]['longitude'])) { |
|
| 60 | + $longitude = $spotter_array[0]['longitude']; |
|
| 61 | + } |
|
| 58 | 62 | require_once('header.php'); |
| 59 | 63 | /* |
| 60 | 64 | if (isset($globalArchive) && $globalArchive) { |