From: Matt Johnston Date: Mon, 29 Sep 2008 10:14:45 +0000 (+0000) Subject: Fix r41377 - Incompatible old keys caused Fatal Error X-Git-Tag: 1.31.0-rc.0~45020 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=c7c92af0c7e16fbcb217a88b31970c554076f2a7;p=lhc%2Fweb%2Fwiklou.git Fix r41377 - Incompatible old keys caused Fatal Error --- diff --git a/includes/Interwiki.php b/includes/Interwiki.php index 4fa6b520d3..3d0f216f40 100644 --- a/includes/Interwiki.php +++ b/includes/Interwiki.php @@ -123,7 +123,7 @@ class Interwiki { global $wgMemc; $key = wfMemcKey( 'interwiki', $prefix ); $mc = $wgMemc->get( $key ); - if( $mc ){ + if( $mc && is_array( $mc ) ){ // is_array is hack for old keys if( $this->loadFromArray( $mc ) ){ wfDebug("Succeeded\n"); return true;