[ticket/12690] Remove $msg_id and chmod

Remove inneded $msg_id
Chmod file to 644

PHPBB3-12690