fixed HistoryTicketGet() if no owner_id, state_id, ... is in history table
fixed HistoryTicketGet() if no owner_id, state_id, ... is in history table

otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs