Bug: class.event.php : function get_public_offer_by_event_id()