Fixed PHP strict warning.