Skip to:
Content
Pages
Categories
Search
Top
Bottom

Malformed html created by bb_get_forum_dropdown.


  • ewimberley
    Member

    @ewimberley

    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”;

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.