bug 1138: added $ticketno to function call