Bug fixes in tep_aas_link function

Fixed false parameters in php defined function.