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

           Summary: Problem with User.php if no cookies present
           Product: MediaWiki
           Version: 1.13.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: User login/settings
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: [EMAIL PROTECTED]


When trying to login into a wiki immediately after clearing all cookies in a
browser the
access to the $_SESSION variable in line 2111 will fail, since it is not set.
Here is the fix:

                if (isset($_SESSION)) 
                        $_SESSION = $session + $_SESSION;
                else
                  $_SESSION = $session;


-- 
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 watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to