Fix two coding style issues
Return a boolean value in `Mysqli::set_database()` (see #6948)
Add a missing "aria-haspopup" attribute in the navigation template