diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2004-12-18 11:18:56 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2004-12-18 11:18:56 +0000 |
commit | 67c82a607ac0c2d30f4fc852ca77538b7050d26a (patch) | |
tree | 8af98a1a55f0c36690c625d29c6760233b2c7319 /includes/SpecialWatchlist.php | |
parent | bd444098ef20e856e0ad58055be84739cdbf1920 (diff) | |
download | mediawikicore-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.php | 2 |
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" ) ); |