Index: trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValue.php |
— | — | @@ -86,8 +86,8 @@ |
87 | 87 | * @see SMWDataValue::parseDBkeys |
88 | 88 | */ |
89 | 89 | protected function parseDBkeys( $args ) { |
90 | | - $this->mCoordinateSet['lat'] = $args['lat']; |
91 | | - $this->mCoordinateSet['lon'] = $args['lon']; |
| 90 | + $this->mCoordinateSet['lat'] = $args[0]; |
| 91 | + $this->mCoordinateSet['lon'] = $args[1]; |
92 | 92 | |
93 | 93 | $this->m_caption = MapsCoordinateParser::formatCoordinates( $this->mCoordinateSet ); |
94 | 94 | $this->mWikivalue = $this->m_caption; |
— | — | @@ -100,8 +100,8 @@ |
101 | 101 | $this->unstub(); |
102 | 102 | |
103 | 103 | return array( |
104 | | - 'lat' => $this->mCoordinateSet['lat'], |
105 | | - 'lon' => $this->mCoordinateSet['lon'] |
| 104 | + $this->mCoordinateSet['lat'], |
| 105 | + $this->mCoordinateSet['lon'] |
106 | 106 | ); |
107 | 107 | } |
108 | 108 | |