Fixed a PHP notice due to a stupid typo error