From 887fc24d93e5cb570cb41464a780e866054d6594 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 8 Oct 2008 21:30:21 +0000 Subject: [PATCH] Don't show header if including --- includes/specials/SpecialRecentchanges.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.20.1