Don't show projects you don't own in my projects
This commit is contained in:
parent
221f61c496
commit
6cc8e5e0da
|
@ -70,6 +70,11 @@ $projects = array_values(array_filter(
|
|||
|
||||
$project = $projects[$i];
|
||||
$projectID = $project->getID();
|
||||
|
||||
$owner = $projectManager->getProjectOwner($projectID);
|
||||
if($owner['uname'] != $attrs['uid'][0]){
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue