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

--- Comment #1 from Sam Reed (reedy) <[email protected]> 2012-11-15 22:06:12 
UTC ---
        // Clean up username
        $title = Title::makeTitleSafe( NS_USER, $userName );
        if ( !$title ) {
            wfDebug( __METHOD__ . ": invalid username\n" );
        }
        $userName = $title->getText();


^ I guess it should do something about the error (fail/whatever), rather than
just trying to carry on when it's a bad object as it's not going to get much
further if it fatals

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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