Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private project causes problems for invited users #38

Closed
jgonzales8 opened this issue Nov 29, 2012 · 0 comments · Fixed by #39
Closed

Private project causes problems for invited users #38

jgonzales8 opened this issue Nov 29, 2012 · 0 comments · Fixed by #39
Assignees

Comments

@jgonzales8
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant