User "Umherirrender" posted a comment on MediaWiki.r68999.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/68999#c15582

Comment:

Bug 28352 - self unblock with username does not work under 1.17:<br />
$ip is the wrong var, you have to use $this->ip, because that reflect
wpUnblockAddress, the form field with the username

<pre>
Index: includes/specials/SpecialIpblocklist.php
@@ -77,7 +77,7 @@
-$user = User::newFromName( $ip );
+$user = User::newFromName( $this->ip );
</pre>


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to