X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=blobdiff_plain;f=includes%2FException.php;h=015298d4302602ca1857eb2d26939107ba92346c;hb=3e11266ae5e5a33498abb7f028bbc79b5ca93515;hp=4c7fb6e441e4f1972d19d6276783b2e2200ec85d;hpb=c2eb037f749e7355d97bc1fb247c43e7d74b7eab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Exception.php b/includes/Exception.php index 4c7fb6e441..015298d430 100644 --- a/includes/Exception.php +++ b/includes/Exception.php @@ -22,7 +22,8 @@ class MWException extends Exception { function useOutputPage() { return $this->useMessageCache() && !empty( $GLOBALS['wgFullyInitialised'] ) && - ( !empty( $GLOBALS['wgArticle'] ) || ( !empty( $GLOBALS['wgOut'] ) && !$GLOBALS['wgOut']->isArticleRelated() ) ) && + !empty( $GLOBALS['wgOut'] ) && + !$GLOBALS['wgOut']->isArticleRelated() && !empty( $GLOBALS['wgTitle'] ); }