SpecialWatchlist: Fix a fatal due to undefined variable
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 16 Jan 2014 17:52:57 +0000 (18:52 +0100)
committerOri.livneh <ori@wikimedia.org>
Thu, 16 Jan 2014 17:56:02 +0000 (17:56 +0000)
Followup to Iffc9ada3.

Change-Id: I6e7a43f2a78b9a94804151221ff4f2369d14d5db

includes/specials/SpecialWatchlist.php

index 28b4041..ac41340 100644 (file)
@@ -447,6 +447,7 @@ class SpecialWatchlist extends SpecialRecentChanges {
 
                $nondefaults = $opts->getChangedValues();
                $form = "";
+               $user = $this->getUser();
 
                # Show watchlist header
                $form .= "<p>";