Update threadlog.php

fix to make usernames with apostrophes work