'ipblocks',
[ 'ipb_user' ],
[
- "ipb_user >= $from",
- "ipb_user <= $to",
+ "ipb_user >= " . (int)$from,
+ "ipb_user <= " . (int)$to,
],
__METHOD__,
[
[ 'ipb_id', 'user_name' ],
[
'ipb_user = user_id',
- "ipb_user >= $from",
- "ipb_user <= $to",
+ "ipb_user >= " . (int)$from,
+ "ipb_user <= " . (int)$to,
'ipb_address != user_name',
],
__METHOD__