Update condition to give the possibility to get_document_data_by_id() specifically on session_id=0 - refs BT#7128
Merge branch '1.9.x' of github.com:chamilo/chamilo-lms into 1.9.x