aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialWatchlist.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2004-12-18 11:18:56 +0000
committerBrion Vibber <brion@users.mediawiki.org>2004-12-18 11:18:56 +0000
commit67c82a607ac0c2d30f4fc852ca77538b7050d26a (patch)
tree8af98a1a55f0c36690c625d29c6760233b2c7319 /includes/SpecialWatchlist.php
parentbd444098ef20e856e0ad58055be84739cdbf1920 (diff)
downloadmediawikicore-67c82a607ac0c2d30f4fc852ca77538b7050d26a.tar.gz
mediawikicore-67c82a607ac0c2d30f4fc852ca77538b7050d26a.zip
Change WebRequest::getVal() to always return a string (or null), and add getArray() method for the rare times that's what we want.
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6708
Diffstat (limited to 'includes/SpecialWatchlist.php')
-rw-r--r--includes/SpecialWatchlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php
index f2f4378c356b..ea295dc0699d 100644
--- a/includes/SpecialWatchlist.php
+++ b/includes/SpecialWatchlist.php
@@ -37,7 +37,7 @@ function wfSpecialWatchlist() {
$days = $wgRequest->getVal( 'days' );
$action = $wgRequest->getVal( 'action' );
$remove = $wgRequest->getVal( 'remove' );
- $id = $wgRequest->getVal( 'id' );
+ $id = $wgRequest->getArray( 'id' );
$wgOut->addHTML( wfMsg( "email_notification_infotext" ) );