From 67e06d3a908681bd80985fa0e06bd9ff5ff5d4d8 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 12 Mar 2008 15:48:11 +0000 Subject: [PATCH] Fix PHP notice from r31871. Thanks to Aaron :) --- includes/ProtectionForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 181e9bb046..03e4c8ce6a 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -120,7 +120,7 @@ class ProtectionForm { } $sk = $wgUser->getSkin(); - $titleLink = $sk->makeLinkObj( Title::newFromURL( $this->mTitle ) ); + $titleLink = $sk->makeLinkObj( $this->mTitle ); $wgOut->setPageTitle( wfMsg( 'protect-title', $this->mTitle->getPrefixedText() ) ); $wgOut->setSubtitle( wfMsg( 'protect-backlink', $titleLink ) ); -- 2.20.1