Minor - format code, fixing PHP warnings.
Minor - format code.
Fixing PHP notices.
Minor - format code, adding docs, fixing PHP warnings.
Fixing PHP warning + reformat code.
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19