--- mod/data/field/latlong/field.class.php 2008-04-18 17:12:24.000000000 -0500 +++ mod/data/field/latlong/field.class.php 2008-04-18 22:16:26.000000000 -0500 @@ -208,24 +208,8 @@ return true; } - function export_text_value($record){ - - $lat = $record->content; - $long = $record->content1; - - $str = ''; - if($lat < 0) { - $str.= "" . sprintf('%01.4f', 0 - $lat) . '°S '; - } else { - $str.= "" . sprintf('%01.4f', $lat) . "°N "; - } - if($long < 0) { - $str.= "" . sprintf('%01.4f', 0 - $long) . '°W'; - } else { - $str.= "" . sprintf('%01.4f', $long) . "°E"; - } - - return $str; + function export_text_value($record) { + return sprintf('%01.4f', $record->content) . " " . sprintf('%01.4f', $record->content1); } }