X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FException.php;h=f6bc6f87fcfe40401176f4033875be8d8b31c5b6;hb=42fe290d16f66ba3d719bc6149cc79570e55a6b3;hp=b2d668c804d27a96e3b57ac0870b38eeb1519fe7;hpb=160936a8ddb991d4f9c6668e42b0fa025e3b1ff7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Exception.php b/includes/Exception.php index b2d668c804..f6bc6f87fc 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -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; } }