From: Aaron Schulz Date: Wed, 9 Apr 2008 01:20:04 +0000 (+0000) Subject: LEFT JOIN on page, this picks up deletion log and salting stuff X-Git-Tag: 1.31.0-rc.0~48502 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=10bb5e658d9397da20389866847117f2cc405cfb;p=lhc%2Fweb%2Fwiklou.git LEFT JOIN on page, this picks up deletion log and salting stuff --- diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index 83146b6354..a090685297 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -187,11 +187,11 @@ function wfSpecialWatchlist( $par ) { $wltsfield=", ${watchlist}.wl_notificationtimestamp "; } $sql = "SELECT ${recentchanges}.* ${wltsfield} - FROM $watchlist,$recentchanges,$page + FROM $watchlist,$recentchanges + LEFT JOIN $page ON rc_cur_id=page_id WHERE wl_user=$uid AND wl_namespace=rc_namespace AND wl_title=rc_title - AND rc_cur_id=page_id $andcutoff $andLatest $andHideOwn