Ticket #4354 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

$user_ID not declared global in load_template()

Reported by: markjaquith Assigned to: markjaquith
Priority: normal Milestone: 2.3
Component: Administration Version: 2.2
Severity: normal Keywords: $user_id
Cc:

Description

$user_ID is not declared global in load_template(), so the variable is not accessible without manually declaring the variable global (which is really confusing to a lot of people with even moderate PHP knowledge).

Change History

05/28/07 21:32:35 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [5581]) declare $user_ID global in load_template(). fixes #4354.