From: Happy-melon Date: Fri, 1 Apr 2011 23:13:15 +0000 (+0000) Subject: Follow-up r85025: fix the you're-trying-to-block-yourself-you-twit warning, and make... X-Git-Tag: 1.31.0-rc.0~31087 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=ff194ef5b4c73b3772c45895ebafc75ab6e1336a;p=lhc%2Fweb%2Fwiklou.git Follow-up r85025: fix the you're-trying-to-block-yourself-you-twit warning, and make it an actual checkbox confirmation. Also use said confirmation for reblocks, and HideUser (bug 18678). Mark a static function from HTMLForm which is called from SpecialBlock as explicitly public. --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index 58c8bbf97d..d8d83e8f21 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -522,7 +522,7 @@ class HTMLForm { * @param $errors Array of message keys/values * @return String HTML, a