More PHP Notices removed (part 9)