Fixing PHP warning.
Deleting extra field sessions values when deleting a session see #6664
Minor - format code, doc update
Merge branch '1.9.x' of github.com:chamilo/chamilo-lms into julio6666