dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa9b2e6
)
Cast namespaceId to int in SpecialEditWatchlist::cleanupWatchlist
author
addshore
<addshorewiki@gmail.com>
Wed, 23 Mar 2016 21:21:00 +0000
(21:21 +0000)
committer
Catrope
<roan.kattouw@gmail.com>
Wed, 23 Mar 2016 21:36:55 +0000
(21:36 +0000)
Bug: T130778
Change-Id: I4b62e5b251f8c3d31aa2f76a9988b5cb7c8cf3b7
includes/specials/SpecialEditWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialEditWatchlist.php
b/includes/specials/SpecialEditWatchlist.php
index
dd440b9
..
9c1f224
100644
(file)
--- a/
includes/specials/SpecialEditWatchlist.php
+++ b/
includes/specials/SpecialEditWatchlist.php
@@
-414,7
+414,7
@@
class SpecialEditWatchlist extends UnlistedSpecialPage {
$action = $title ? 'cleaning up' : 'deleting';
wfDebug( "User {$user->getName()} has broken watchlist item ns($namespace):$dbKey, $action.\n" );
- $store->removeWatch( $user, new TitleValue( $namespace, $dbKey ) );
+ $store->removeWatch( $user, new TitleValue(
(int)
$namespace, $dbKey ) );
// Can't just do an UPDATE instead of DELETE/INSERT due to unique index
if ( $title ) {