Opened 3 years ago
Closed 3 years ago
#1256 closed defect (duplicate)
bb_get_forum_dropdown adds extra quote quotation in error
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 1.0.3 |
| Component: | Back-end | Version: | 1.0.2 |
| Severity: | minor | Keywords: | bb_get_forum_dropdown |
| Cc: |
Description
http://bbpress.org/forums/topic/malformed-html-created-by-bb_get_forum_dropdown
When generating a dropdown menu, bb_get_forum_dropdown (from bb-includes/functions.bb-template.php) adds an extra quotation mark inside the select tag like this:
<select name="forum_id" id="forum-id"">
When it should be like this:
<select name="forum_id" id="forum-id">
The offending line is right here:
$r .= '<select name="' . $name . '" id="' . $id . '"' . $tab . '">' . "\n";
To fix this, change it to:
$r .= '<select name="' . $name . '" id="' . $id . '"' . $tab . '>' . "\n";
Change History (1)
comment:1
Gautam Gupta — 3 years ago
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
#1199