(bug 20274) Strict standards issue in 5.3.
[lhc/web/wiklou.git] / includes / Exception.php
index b2d668c..f6bc6f8 100644 (file)
@@ -26,7 +26,7 @@ class MWException extends Exception {
        function useMessageCache() {
                global $wgLang;
                foreach ( $this->getTrace() as $frame ) {
-                       if ( $frame['class'] == 'LocalisationCache' ) {
+                       if ( isset( $frame['class'] ) && $frame['class'] === 'LocalisationCache' ) {
                                return false;
                        }
                }