From c1dc0b73e6468c48d6504f6b782a225b695805b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 7 May 2008 18:57:16 +0000 Subject: [PATCH] * Don't pass the title object itself to Xml::hidden --- includes/SpecialUserrights.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialUserrights.php b/includes/SpecialUserrights.php index d2588b5145..0efbeb1fec 100644 --- a/includes/SpecialUserrights.php +++ b/includes/SpecialUserrights.php @@ -298,7 +298,7 @@ class UserrightsPage extends SpecialPage { global $wgOut, $wgScript; $wgOut->addHTML( Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'name' => 'uluser', 'id' => 'mw-userrights-form1' ) ) . - Xml::hidden( 'title', $this->getTitle() ) . + Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . Xml::openElement( 'fieldset' ) . Xml::element( 'legend', array(), wfMsg( 'userrights-lookup-user' ) ) . Xml::inputLabel( wfMsg( 'userrights-user-editname' ), 'user', 'username', 30, $this->mTarget ) . ' ' . @@ -440,9 +440,9 @@ class UserrightsPage extends SpecialPage { $checkbox = $disabled ? Xml::tags( 'span', array( 'class' => 'mw-userrights-disabled' ), $checkbox ) : $checkbox; if ($disabled) { - $unsettable_col .= "$checkbox
\n"; + $unsettable_col .= "$checkbox
\n"; } else { - $settable_col .= "$checkbox
\n"; + $settable_col .= "$checkbox
\n"; } } -- 2.20.1