(bug 13915) Undefined variable in includes/SpecialWatchlist.php. Patch by Jelte...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 1 May 2008 15:27:59 +0000 (15:27 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 1 May 2008 15:27:59 +0000 (15:27 +0000)
RELEASE-NOTES
includes/SpecialWatchlist.php

index b101abf..ec7ed2b 100644 (file)
@@ -231,6 +231,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
 * (bug 13891) Show categories box even if all categories are hidden and user has
   "show hidden categories" option on
+* (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
 
 
 === API changes in 1.13 ===
index 26fca85..94832f8 100644 (file)
@@ -184,7 +184,9 @@ function wfSpecialWatchlist( $par ) {
                        "\n\n" );
        }
        if ( $wgShowUpdatedMarker ) {
-               $wltsfield=", ${watchlist}.wl_notificationtimestamp ";
+               $wltsfield = ", ${watchlist}.wl_notificationtimestamp ";
+       } else {
+               $wltsfield = '';
        }
        $sql = "SELECT ${recentchanges}.* ${wltsfield}
          FROM $watchlist,$recentchanges