https://bugzilla.wikimedia.org/show_bug.cgi?id=29116

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Brion Vibber <[email protected]> 2011-05-24 21:05:16 UTC 
---
Done on trunk in r88750:

* (bug 29116) Fix regression breaking CheckUser extension

Fixes regression from r84475 and friends which made Block->load() and its new
front-end Block::newFromTarget() fail when an empty string was passed in as the
IP / $vagueTarget parameter to indicate skipping IP-based lookups.
Added phpunit test cases to confirm that both Block->load() and
Block::newFromTarget() work when given null (already ok), '' (as done from
CheckUser), or false (not seen, but perfectly legit sounding).
Adjusted comparisons to work as expected.

Presumably needs merge to 1.18.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to