Minor - fixes PHP warnings.
Fixing multiple true/false/doubt question see BT#7780
Minor - format code.
Minor fixing delete hotpotatoes where there are any contents.
Fixing hotpotatoe error when folder is empty.
Merge branch '1.9.x' of ssh://github.com/chamilo/chamilo-lms into chamilo19