Fix PHP notice when entering comment