From: Aaron Schulz Date: Wed, 8 Oct 2008 21:30:21 +0000 (+0000) Subject: Don't show header if including X-Git-Tag: 1.31.0-rc.0~44838 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=887fc24d93e5cb570cb41464a780e866054d6594;p=lhc%2Fweb%2Fwiklou.git Don't show header if including --- diff --git a/includes/specials/SpecialRecentchanges.php b/includes/specials/SpecialRecentchanges.php index c6a0a4772f..072891f065 100644 --- a/includes/specials/SpecialRecentchanges.php +++ b/includes/specials/SpecialRecentchanges.php @@ -98,7 +98,9 @@ class SpecialRecentChanges extends SpecialPage { $conds = $this->buildMainQueryConds( $opts ); $rows = $this->doMainQuery( $conds, $opts ); if( $rows === false ){ - $this->doHeader( $opts ); + if( !$this->including() ) { + $this->doHeader( $opts ); + } return; }