change the search results to only display if the class is active
php comment course_info
more elegant way to prevent the display of inactive classes