We investigate invariants of equations u_t=f(x,u)u_{xx}+g(x,u,u_x). We show that these equations have two functionally independent invariants of the second order.