fix bug on thm

$ret wasn't correctly initialized (wrong var name).

@eldy, do you considered as a new feature if i add the field thm on the user card on 3.6 (which currently cannot be updated anywhere)?