Moodle

Logged userid at login is empty

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Authentication
  • Labels:
    None
  • Environment:
    FreeBSD/Apache 2.2/MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

Line 159 on the login/index.php page sets the login log entry using the $USER variable which does not get set until the next line. Simply switching the lines orders will fix this problem.

Activity

Hide
Petr Škoda (skodak) added a comment -

It looks like this was already fixed in 1.9.1 by Martin Langhoff, thanks for the report anyway.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - It looks like this was already fixed in 1.9.1 by Martin Langhoff, thanks for the report anyway. Petr Skoda

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: