From 2ed656a1c04db07865dd306bac82f591fbc9dcd9 Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Tue, 19 Apr 2011 10:11:16 +0000 Subject: [PATCH] Follow-up r86347: fix undefined variable by actually returning the type suggested in the documentation. --- includes/SpecialPageFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialPageFactory.php b/includes/SpecialPageFactory.php index 330d61e2fe..0da2956442 100644 --- a/includes/SpecialPageFactory.php +++ b/includes/SpecialPageFactory.php @@ -446,7 +446,7 @@ class SpecialPageFactory { $url = $title->getFullUrl( $query ); $context->output->redirect( $url ); wfProfileOut( __METHOD__ ); - return $redirect; + return $title; } else { $context->title = $page->getTitle(); } -- 2.20.1