Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Compatibility_Helpers.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | } |
70 | 70 | break; |
71 | 71 | case SMWDataItem::TYPE_GEO: |
72 | | - return new SMWDIGeoCoord( array( 'lat' => $dbkeys[0], 'lon' => $dbkeys[1] ), $typeid ); |
| 72 | + return new SMWDIGeoCoord( array( 'lat' => (float)$dbkeys[0], 'lon' => (float)$dbkeys[1] ), $typeid ); |
73 | 73 | break; |
74 | 74 | case SMWDataItem::TYPE_CONTAINER: |
75 | 75 | break; |