Fixes claroline/Claroline#613
Merge pull request #739 from ngodfraind/bugfix

Fixes claroline/Claroline#613