From 1e82e0ff29bfbd2b51ccb68696c6dd0b6663b955 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Tue, 1 Nov 2011 16:29:49 +0000 Subject: [PATCH] =?utf8?q?followup=20101492=20=E2=80=94=20make=20it=20actu?= =?utf8?q?ally=20work.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/LocalisationCache.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1