r47356 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47355‎ | r47356 | r47357 >
Date:09:41, 17 February 2009
Author:daniel
Status:ok
Tags:
Comment:
fix inversed test in short-cirquit condition
Modified paths:
  • /trunk/extensions/Gadgets/Gadgets.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Gadgets/Gadgets.php
@@ -73,7 +73,7 @@
7474 global $wgMemc;
7575
7676 static $gadgets = NULL;
77 - if ( $gadgets !== NULL && $forceNewText !== NULL ) return $gadgets;
 77+ if ( $gadgets !== NULL && $forceNewText === NULL ) return $gadgets;
7878
7979 $key = wfMemcKey( 'gadgets-definition' );
8080

Status & tagging log