Avoid error if client is empty

If client is empty when filling hours in PhpReport there was an error when
running the script trying to convert it to int.