I apologize that I don't know how to search for this question--it may be a duplicate, or maybe I just should have learned it in English class!
I'm a teacher, and in another StackExchange, I wrote the following, in regard to a policy that I discuss during the first day of class:
I mention that I won't tolerate [grade-grubbing] on the first day of class.
After re-reading it, I realized that I could mean, "I won't tolerate grade-grubbing if it happens on the first day of class." Instead, I meant "On the first day of class, I mention that I won't tolerate grade-grubbing at any time during the course."
What is the term (or explanation) for this kind of ambiguity?