Error in the Polgar chess book!


I just took a look at the problem, and you're right. There is no mate in 2. I think the intended position was for the knight on a3 to be on a4; in that position, the knight properly blocks the escape squares and presents a forced checkmate.
I put the original and "intended" positions below for reference.