[ticket/11892] Fix undefined variables: to_forum_id & to_topic_id

PHPBB3-11892