Fixed PHP warining.