From a43a771915701bb13714770d207cd687cc3cbcd4 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 21 May 2008 20:07:10 +0000 Subject: [PATCH] (bug 14212) Undefined variable $retval in Skin::subPageSubtitle() --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index 4f6422a29f..a1a3a7d37a 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -880,7 +880,7 @@ END; function subPageSubtitle() { $subpages = ''; if(!wfRunHooks('SkinSubPageSubtitle', array(&$subpages))) - return $retval; + return $subpages; global $wgOut, $wgTitle, $wgNamespacesWithSubpages; if($wgOut->isArticle() && !empty($wgNamespacesWithSubpages[$wgTitle->getNamespace()])) { -- 2.20.1