It can happen in the following circumstances;
- There is more than one trainer who created course with same name and enrolled you in their courses. So the two courses come from different trainers.
- A single trainer who created two courses with the same name (QuoDeck distinguishes between courses using course identifiers and not by name, hence a trainer can give the same name to multiple courses if he wishes so), and enroll you in both courses.