Fixed strict PHP warning