Opened 19 years ago
Closed 19 years ago
#4354 closed defect (bug) (fixed)
$user_ID not declared global in load_template()
| Reported by: | markjaquith | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | Administration | Version: | 2.2 |
| Severity: | normal | Keywords: | $user_id |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5581]) declare $user_ID global in load_template(). fixes #4354.