Index: trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValue.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | $distance = count( $parts ) > 0 ? trim( array_shift( $parts ) ) : false; |
90 | 90 | |
91 | 91 | if ( $distance !== false ) { |
92 | | - if ( preg_match( '/^\d+(\.\d+)?(\s.+)\)$/', $distance ) ) { |
| 92 | + if ( preg_match( '/^\d+(\.\d+)?(\s.+)?\)$/', $distance ) ) { |
93 | 93 | $distance = substr( $distance, 0, -1 ); |
94 | 94 | } |
95 | 95 | else { |