dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Localisation updates for core and extension messages from translatewiki.net (2010...
[lhc/web/wiklou.git]
/
includes
/
Interwiki.php
diff --git
a/includes/Interwiki.php
b/includes/Interwiki.php
index
865119a
..
5a3b655
100644
(file)
--- a/
includes/Interwiki.php
+++ b/
includes/Interwiki.php
@@
-143,7
+143,7
@@
class Interwiki {
global $wgMemc, $wgInterwikiExpiry;
$key = wfMemcKey( 'interwiki', $prefix );
$mc = $wgMemc->get( $key );
- $iw = false;
+
if( $mc && is_array( $mc ) ) { // is_array is hack for old keys
$iw = Interwiki::loadFromArray( $mc );
if( $iw ) {