From: John Du Hart Date: Sun, 27 Nov 2011 17:31:14 +0000 (+0000) Subject: Followup r104318, sort the options in the limit dropdown X-Git-Tag: 1.31.0-rc.0~26269 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=5c95e650b26e96abc7e7c356dcbbaccfd8fc177a;p=lhc%2Fweb%2Fwiklou.git Followup r104318, sort the options in the limit dropdown --- diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 09af45c6da..719a3381b9 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -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; } -} \ No newline at end of file +}