Fixed a PHP notice on the new notifications page.