[ticket/11701] Remove useless str_replace

PHPBB3-11701