From: Mark A. Hershberger Date: Tue, 1 Nov 2011 16:29:49 +0000 (+0000) Subject: followup 101492 — make it actually work. X-Git-Tag: 1.31.0-rc.0~26777 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=1e82e0ff29bfbd2b51ccb68696c6dd0b6663b955;p=lhc%2Fweb%2Fwiklou.git followup 101492 — make it actually work. --- diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index 098cacec23..f5ac5c56ae 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -851,7 +851,9 @@ class LCStore_Accel implements LCStore { public function get( $code, $key ) { $k = wfMemcKey( 'l10n', $code, 'k', $key ); - return $this->cache->get( $k ); + $r = $this->cache->get( $k ); + if ( $r === false ) return null; + return $r; } public function startWrite( $code ) {