Fixing table creation.
Fixing record form see BT#7338
Minor - fixing PHP warning.
Merge branch '1.9.x' of github.com:beeznest/chamilo-lms-icpna into icpna19