MDL-9667 - convert_tree_to_html doesn't set css class properly if $tab->linkedwhenselected is set
MDL-9667 - convert_tree_to_html doesn't set css class properly if
$tab->linkedwhenselected is set

Patch from Jeff Graham

merged from MOODLE_19_STABLE

dilawar/moodle