diff options
Diffstat (limited to 'skins/disabled')
-rw-r--r-- | skins/disabled/MonoBookCBT.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/disabled/MonoBookCBT.php b/skins/disabled/MonoBookCBT.php index 03e5f070..c6297cd9 100644 --- a/skins/disabled/MonoBookCBT.php +++ b/skins/disabled/MonoBookCBT.php @@ -1020,7 +1020,7 @@ class SkinMonoBookCBT extends SkinTemplate { $dbr = wfGetDB( DB_SLAVE ); extract( $dbr->tableNames( 'watchlist' ) ); $sql = "SELECT COUNT(*) AS n FROM $watchlist - WHERE wl_title='" . $dbr->strencode($this->mTitle->getDBKey()) . + WHERE wl_title='" . $dbr->strencode($this->mTitle->getDBkey()) . "' AND wl_namespace=" . $this->mTitle->getNamespace() ; $res = $dbr->query( $sql, 'SkinTemplate::outputPage'); $row = $dbr->fetchObject( $res ); |