"Add ticket" missing for users of a client company

Project:ProjectPier
Version:0.8.8-stable
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:patch - code needs work
Description

I have a client company with some users, and these users have been granted all rights in this project. They even can manage tickets, but they can't issue new tickets.
My version is a 0.8.8-sp2, updated from a 0.8.6 (where the clients could issue new tickets).

#1
Status:new» patch - code needs work

Solution is:
in file application/plugins/tickets/models/ProjectTicket.class.php comment the line 410-412:

//      if(!$user->isMemberOfOwnerCompany()) {
//        return false; // user that is not member of owner company can't access private objects
//      } // if

That's all, folks!