From: Brion Vibber Date: Sun, 23 Nov 2003 05:21:23 +0000 (+0000) Subject: Fix rename page escaping bug X-Git-Tag: 1.1.0~112 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=6d42890bd60dc9807d2af75f02df9fb370a85894;p=lhc%2Fweb%2Fwiklou.git Fix rename page escaping bug --- diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index ba60d00c66..de5e649d90 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -68,7 +68,7 @@ class WatchedItem { $enewtitle = wfStrencode( $newtitle ); $sql = "SELECT wl_user FROM watchlist - WHERE wl_namespace={$oldnamespace} AND wl_title='{$oldtitle}'"; + WHERE wl_namespace={$oldnamespace} AND wl_title='{$eoldtitle}'"; $res = wfQuery( $sql, DB_READ, $fname ); if( $s = wfFetchObject( $res ) ) { $sql = "REPLACE INTO watchlist (wl_user,wl_namespace,wl_title)