Opened 17 years ago
Closed 17 years ago
#4354 closed defect (bug) (fixed)
$user_ID not declared global in load_template()
Reported by: | markjaquith | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | $user_id |
Focuses: | 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).
Note: See
TracTickets for help on using
tickets.
(In [5581]) declare $user_ID global in load_template(). fixes #4354.