Fix #170 Bug in characterprofile.php for TFS 0.2/3.