This is a duplicate of this, which has solved the problem of the first question. However, in the latter question, the answer is not accepted. Should this be marked as duplicate nevertheless?
in general, acceptance is not considered of much significance for moderation. It just shows that a particular answer worked for the OP, who is in fact quite unlikley to be the best judge in many cases since if they were an expert on the topic they probably would not be posting a question about it (unless it's a self-answered one)
Votes are normally a better indication of the value of an answer
when it comes to duplication, the fact that the answer worked for the OP seems to me even less significant if anything, since the dupe question would be asked by someone else