Opened 19 years ago
Closed 19 years ago
#3980 closed defect (bug) (wontfix)
Comments template mis-named variable
| Reported by: | filosofo | Owned by: | rob1n |
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | General | Version: | 2.2 |
| Severity: | trivial | Keywords: | comments_template comments has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
$commentsdoesn't have to be global, as the comments template is included from within the function.