Fix get the user directory within a course in session - refs #7427
Merge branch '7427' of https://github.com/AngelFQC/chamilo-lms into AngelFQC-7427
Merge branch 'AngelFQC-7427' into 1.9.x