fix inversed test in short-cirquit condition

This commit is contained in:
Daniel Kinzler 2009-02-17 09:41:42 +00:00
parent 7e5ce5320f
commit 3e277d2caf

View file

@ -73,7 +73,7 @@ function wfLoadGadgetsStructured( $forceNewText = NULL ) {
global $wgMemc;
static $gadgets = NULL;
if ( $gadgets !== NULL && $forceNewText !== NULL ) return $gadgets;
if ( $gadgets !== NULL && $forceNewText === NULL ) return $gadgets;
$key = wfMemcKey( 'gadgets-definition' );