Fixed PHP warning.