Fix PHP notice from r31871. Thanks to Aaron :)