Another fix for PHP warnings.