This happened to me today. Normally the eyedropper picks the foreground color when left-clicked and the background color when alt-left-clicked but it was happening the other way around.
To fix, open the color palette and make sure the foreground color is selected (has the heavy black outline).

