mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-15 03:23:51 +00:00
fix inversed test in short-cirquit condition
This commit is contained in:
parent
7e5ce5320f
commit
3e277d2caf
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue