From 22ddc3143f0e0978b5d0ef12bf0b028627679c4f Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Tue, 20 Apr 2004 23:29:52 +0000 Subject: [PATCH] fix notice --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index 8ea26e8af3..f078b36567 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -541,7 +541,7 @@ class Skin { global $wgExtraSubtitle; $sub = wfMsg( "fromwikipedia" ) . $wgExtraSubtitle; } - if($wgOut->isArticle() && $wgNamespacesWithSubpages[$wgTitle->getNamespace()]) { + if($wgOut->isArticle() && !empty($wgNamespacesWithSubpages[$wgTitle->getNamespace()])) { $ptext=$wgTitle->getPrefixedText(); if(preg_match("/\//",$ptext)) { $sub.="

"; -- 2.20.1