Followup r82060
authorSam Reed <reedy@users.mediawiki.org>
Thu, 3 Mar 2011 23:22:39 +0000 (23:22 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 3 Mar 2011 23:22:39 +0000 (23:22 +0000)
commit01caf960f294e26335f1d0c3a737d08b9d591357
treee16894b75e930c51e27ebacc990645faf00321ab
parentbfacd7de74b367d38454c8404292f202fea1188c
Followup r82060

Calling intval() on an array of integers isn't going to get people very far

simplify logic, and then only do validation if $min or $max are not null
includes/api/ApiBase.php