r80801 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80800‎ | r80801 | r80802 >
Date:09:50, 23 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Flip variables in if to be correct
Modified paths:
  • /trunk/extensions/OWALiteTracker/OWALiteTracker.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OWALiteTracker/OWALiteTracker.php
@@ -26,7 +26,7 @@
2727 return;
2828 }
2929 $text = "<script> var includeOWA = false; if( Geo ){\n";
30 - foreach( $condition as $wgOWAGeoTrackSites ){
 30+ foreach( $wgOWAGeoTrackSites as $condition ){
3131 $text .= "if (Geo.{$condition[0]} && Geo.{$condition[0]} == \"{$condition[1]}\"){
3232 if( !includeOWA ) {
3333 includeOWA = true;

Status & tagging log