From: Bartosz DziewoƄski Date: Thu, 16 Jan 2014 17:52:57 +0000 (+0100) Subject: SpecialWatchlist: Fix a fatal due to undefined variable X-Git-Tag: 1.31.0-rc.0~17240 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=9ea31e542ed3ac4b0f7292d18fde6818395e0968;p=lhc%2Fweb%2Fwiklou.git SpecialWatchlist: Fix a fatal due to undefined variable Followup to Iffc9ada3. Change-Id: I6e7a43f2a78b9a94804151221ff4f2369d14d5db --- diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 28b4041982..ac41340501 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -447,6 +447,7 @@ class SpecialWatchlist extends SpecialRecentChanges { $nondefaults = $opts->getChangedValues(); $form = ""; + $user = $this->getUser(); # Show watchlist header $form .= "

";