Index: trunk/extensions/Gadgets/Gadgets.php |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | if ( $forceNewText == NULL ) { |
79 | 79 | //cached? |
80 | 80 | $gadgets = $wgMemc->get( $key ); |
81 | | - if ( $gadgets !== NULL ) return $gadgets; |
| 81 | + if ( is_string($gadgets) ) return $gadgets; |
82 | 82 | |
83 | 83 | $g = wfMsgForContentNoTrans( "gadgets-definition" ); |
84 | 84 | if ( wfEmptyMsg( "gadgets-definition", $g ) ) { |