Commit 8eed3f1c authored by Leigh Stoller's avatar Leigh Stoller

Fix for red-dot instantiate. This closes issue #141.

parent b64321a5
......@@ -398,6 +398,9 @@ class Profile
function CanInstantiate($user) {
$profileid = $this->profileid();
if (ISADMIN()) {
return 1;
}
if ($this->shared() || $this->ispublic() ||
$this->creator_idx() == $user->uid_idx()) {
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment