If $connection paramter is empty in tep_href_link function

take the $connection value from $request_type