Fixing PHP warnings, adding intval.
Fixing PHP warnings.
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19
Minor - format code.
Adding filter by use see BT#7060
Minor fixing warning.