r75145 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75144‎ | r75145 | r75146 >
Date:13:07, 21 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed issue caused by array index confusion
Modified paths:
  • /trunk/extensions/Maps/includes/features/Maps_BasePointMap.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/features/Maps_BasePointMap.php
@@ -127,6 +127,8 @@
128128
129129 if ( !$markerData ) continue;
130130
 131+ $markerData = array( $markerData['lat'], $markerData['lon'] );
 132+
131133 if ( count( $args ) > 0 ) {
132134 // Parse and add the point specific title if it's present.
133135 $markerData['title'] = $parser->parse( $args[0], $wgTitle, new ParserOptions() )->getText();

Follow-up revisions

RevisionCommit summaryAuthorDate
r75146Follow up to r75145jeroendedauw13:07, 21 October 2010

Status & tagging log