r34075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34074‎ | r34075 | r34076 >
Date:15:27, 1 May 2008
Author:simetrical
Status:old
Tags:
Comment:
(bug 13915) Undefined variable in includes/SpecialWatchlist.php. Patch by Jelte (WebBoy).
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialWatchlist.php
@@ -184,7 +184,9 @@
185185 "\n\n" );
186186 }
187187 if ( $wgShowUpdatedMarker ) {
188 - $wltsfield=", ${watchlist}.wl_notificationtimestamp ";
 188+ $wltsfield = ", ${watchlist}.wl_notificationtimestamp ";
 189+ } else {
 190+ $wltsfield = '';
189191 }
190192 $sql = "SELECT ${recentchanges}.* ${wltsfield}
191193 FROM $watchlist,$recentchanges
Index: trunk/phase3/RELEASE-NOTES
@@ -231,6 +231,7 @@
232232 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
233233 * (bug 13891) Show categories box even if all categories are hidden and user has
234234 "show hidden categories" option on
 235+* (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
235236
236237
237238 === API changes in 1.13 ===

Status & tagging log