Index: trunk/extensions/GeoData/GeoDataHooks.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | foreach ( $coords as $coord ) { |
184 | 184 | $rows[] = $coord->getRow( $pageId ); |
185 | 185 | } |
186 | | - $dbw->insert( 'geo_tags', $data, __METHOD__ ); |
| 186 | + $dbw->insert( 'geo_tags', $rows, __METHOD__ ); |
187 | 187 | } |
188 | 188 | |
189 | 189 | private static function doSmartUpdate( $coords, $pageId ) { |