Hedman in his "A First Course in Logic" (2004) says, in p.359,
"... we now demonstrate a second-order theory containing $T_N$ that does have a decidable axiomatization." where $T_N$ is the first-order theory of arithmetic of the structure $N=\(N|+,x,1)$.
But after a few paragraphs later he says,
"It follows from proposition 8.1 that second-order logic does not have completeness.That is, we cannot hope to define second-order analogues for first-order resolution and formal proofs. By Gödel’s First Theorem, there is no such algorithm."
My question is: Do not these two quotes contradict each other? Because the former says of a theory that it is decidable, while the latter says that it is not.
Thank you