Update tfa.php

Applied PHP5.2 compatibility