Followup r104318, sort the options in the limit dropdown

This commit is contained in:
John Du Hart 2011-11-27 17:31:14 +00:00
parent e220d83381
commit 5c95e650b2

View file

@ -470,9 +470,10 @@ class HTMLBlockedUsersItemSelect extends HTMLSelectField {
if ( !in_array( $value, $this->mParams['options'] ) ) {
$this->mParams['options'][ $this->mParent->getLanguage()->formatNum( $value ) ] = intval($value);
asort( $this->mParams['options'] );
}
return true;
}
}
}