In Zee's solution for (I.3.1) on p. 483 at the back of the book (2003 edition) he writes:
$$D(x)=-\frac{1}{2(2\pi)^2 r}\int_0^\infty \frac{dk~k}{\sqrt{k^2 +m^2}}(e^{ikr}-e^{-ikr})=-\frac{1}{8\pi^2 r}\int_{0}^\infty \frac{dk~k}{\sqrt{k^2 +m^2}}e^{ikr}.$$
I have seen from someone else's question on SE "QFT Propagator across spacelike separation" that the sign of $k$ can be switched. But that does not explain it. By switching the sign of one of the $k$'s how would this not just equal zero?
I looked at another posting on SE about this same problem "Exponential decay of Feynman propagator outside the lightcone", but it did not answer my question.
Reference: Quantum field theory in a nutshell, Anthony Zee, 2003