chamilo/chamilo-lms — pull request #292 by danbarretodev (2014-05-06 16:32:47+00:00)
Title: Fix bug -refs #7125

course_home.php use api_protect_course_script(true), this call to api_is_allowed_in_course() returning false cause is set false in session, and finally call api_not_allowed().
But for special course if CourseManager::subscribe_user() true, the user must be allowed in course. If fail to subcribe (return false) do nothing more.