From: Raimond Spekking Date: Wed, 12 Mar 2008 15:48:11 +0000 (+0000) Subject: Fix PHP notice from r31871. Thanks to Aaron :) X-Git-Tag: 1.31.0-rc.0~49155 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=67e06d3a908681bd80985fa0e06bd9ff5ff5d4d8;p=lhc%2Fweb%2Fwiklou.git Fix PHP notice from r31871. Thanks to Aaron :) --- 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 ) );