Wip hossup 4215 m26

pull request for issue filed at https://github.com/vfremaux/moodle-mod_flashcard/issues/1