RedisBagOStuff: Fix unserialization of negative numbers
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 12 May 2016 03:49:21 +0000 (20:49 -0700)
committerRoan Kattouw <roan.kattouw@gmail.com>
Thu, 12 May 2016 03:51:08 +0000 (20:51 -0700)
commitcdc93a62bf958702f6a54633ea65d289ab4713b8
tree0fbd4ac75f671ad57d20f31e86822d4e749922ae
parentf4324499dab6797bd3e358467119a82fb33236b6
RedisBagOStuff: Fix unserialization of negative numbers

ctype_digit( $data ) doesn't return true if $data is
a negative integer.

Bug: T134923
Change-Id: Ie8a23fc6354a15210e010062e3da3058f4c463bb
includes/objectcache/RedisBagOStuff.php