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
* Re-added $wgMessageCache->addMessages(), there are still some extensions (in and...
[lhc/web/wiklou.git]
/
includes
/
Exception.php
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
b2d668c
..
f6bc6f8
100644
(file)
--- 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;
}
}