X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FWinCacheBagOStuff.php;h=0e4e3fb63d7316281276e79e0cb3e920504c9e25;hb=bd5a37aacf600bdd5f3a6e7998f92bd1d9326a8a;hp=d75b34437efffc2a745f8918b0e4793841561b7a;hpb=925aefc080482b1b977152a330eed5cb0e493426;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/objectcache/WinCacheBagOStuff.php b/includes/libs/objectcache/WinCacheBagOStuff.php index d75b34437e..0e4e3fb63d 100644 --- a/includes/libs/objectcache/WinCacheBagOStuff.php +++ b/includes/libs/objectcache/WinCacheBagOStuff.php @@ -27,12 +27,12 @@ * * @ingroup Cache */ -class WinCacheBagOStuff extends BagOStuff { +class WinCacheBagOStuff extends MediumSpecificBagOStuff { protected function doGet( $key, $flags = 0, &$casToken = null ) { $casToken = null; $blob = wincache_ucache_get( $key ); - if ( !is_string( $blob ) ) { + if ( !is_string( $blob ) && !is_int( $blob ) ) { return false; }