Bugfix

Fixes Claroline/claroline#371