Cast row namespace to int in SpecialWatchlist
authoraddshore <addshorewiki@gmail.com>
Thu, 24 Mar 2016 10:43:58 +0000 (10:43 +0000)
committeraddshore <addshorewiki@gmail.com>
Thu, 24 Mar 2016 10:43:58 +0000 (10:43 +0000)
commitb72be569bbb38aa8c8cb091726c1d41cffbff254
tree5a9982273a8ccad46e6b0ea85fd8575301b21c02
parent9717c1668dc9177dc3fda5970e417ae3003a7220
Cast row namespace to int in SpecialWatchlist

Something similar to this recently got through
and caused exceptions on mw.org

This looks like the same thing, a ns from a db row
being handed straight to the TitleValue constructor
without being cast.

Change-Id: Ic126cd713c5210c9ae3d8e805081849ccf84a7f6
includes/specials/SpecialWatchlist.php