Fix a PHP Error for non-admins