Fixed strict PHP error