Update Mini_Ticket_Base.class.php

added associated id option to tickets query