Don't show projects you don't own in my projects

This commit is contained in:
Markus Wang Halvorsen 2018-08-19 14:44:44 +02:00
parent 221f61c496
commit 6cc8e5e0da

View File

@ -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>