From: Erik Moeller Date: Tue, 20 Apr 2004 23:29:52 +0000 (+0000) Subject: fix notice X-Git-Tag: 1.3.0beta1~357 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=22ddc3143f0e0978b5d0ef12bf0b028627679c4f;p=lhc%2Fweb%2Fwiklou.git fix notice --- 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.="

";