Mean-Field Solution of a Spin-1 Ising-like Model