Minor - format code.
Minor - format code.
Using inner join see BT#8852
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19