What is the right term for the grammatical mistake in the following:
As someone who loves animals, lions are beautiful.
The error is that the sentence after the comma should have as the object the person in the first sentence, "I". A correct version would be:
As someone who loves animals, I think lions are beautiful.
What is the right term for the above common mistake?