Private project causes problems for invited users
Closed this issue · 0 comments
jgonzales8 commented
There is an error being thrown: "Cannot access protected property Project::$id in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Pipeline\controller\project\details_c.php on line 19 Call Stack: 0.0009 349808 1. {main}() C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Pipeline\controller\project\details_c.php:0"
if (((!$project->isInvited(Session::getUserID())) && (!$project->isMember(Session::getUserID())) &&
(!$project->isTrusted(Session::getUserID()))) || ProjectUser::isBanned(Session::getUserID(),$project->id))
Just have to use the public method for grabbing ID instead of the ID property