Per Sunwell5's report on IRC and my talk page: fixed a PHP notice when $wgEnableSeria...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 3 Apr 2009 20:07:01 +0000 (20:07 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 3 Apr 2009 20:07:01 +0000 (20:07 +0000)
RELEASE-NOTES
languages/Language.php

index 13722bd..b7dbb89 100644 (file)
@@ -321,6 +321,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 18289) Database connection error page now returns correct HTML
 * "successbox", "errorbox" and related CSS classes are now available in all
   skins
+* Fixed a PHP notice when $wgEnableSerializedMessages was set to false
 
 == API changes in 1.15 ==
 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions
index 3fe2cf2..d629c48 100644 (file)
@@ -2382,6 +2382,8 @@ class Language {
                                                return self::$mLocalisationCache[$code]['deps'];
                                        }
                                }
+                       } else {
+                               $cache = false;
                        }
 
                        # Try the global cache