In this page for the 1D FDM method the final equation (and the one before it) is missing the dt^2 term scaling the source function. It's written in the code but not the actual equation.
Also I think the final should be labeled Equation 6 not 5 just so there's not 2 Equation 5s, but I guess that just depends on convention.