Index: trunk/extensions/GoogleMaps/GoogleMaps.body.php |
— | — | @@ -562,8 +562,8 @@ |
563 | 563 | $titleMaybeNonexistent = is_null($title) ? Title::makeTitleSafe(NS_MAIN, $pTitle) : $title; |
564 | 564 | $skin = $wgUser->getSkin(); |
565 | 565 | $titleLink = is_null($titleMaybeNonexistent) ? '' : $skin->makeLinkObj($titleMaybeNonexistent); |
566 | | - if (count($tabs)) { |
567 | | - $tabs[count($tabs)-1]['gm-caption'] = $parsed; |
| 566 | + if (count($pTabs)) { |
| 567 | + $pTabs[count($pTabs)-1]['gm-caption'] = $parsed; |
568 | 568 | $pExporter->addMarker( $pLat, $pLon, $pIcon, $pTitle, $titleLink, |
569 | 569 | $pTabs, $parsedArticleText, $pLineColorSet ); |
570 | 570 | } else { |