Fixing PHP warnings.
Fixing SCORM export/import see BT#8426 #7208
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19