Opened 19 years ago
Closed 19 years ago
#3980 closed defect (bug) (wontfix)
Comments template mis-named variable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | lowest | |
| Severity: | trivial | Version: | 2.2 |
| Component: | General | Keywords: | comments_template comments has-patch |
| Focuses: | Cc: |
Description
The comments_template function declares a global '$comment' variable that it never uses.
It should be '$comments', not '$comment'.
Attachments (2)
Change History (9)
#3
@
19 years ago
True, now that there's the 'comments_array' filter, '$comment' can just be deleted.
Note: See
TracTickets for help on using
tickets.
$commentsdoesn't have to be global, as the comments template is included from within the function.