Skip to content

Commit

Permalink
Merge pull request #64 from katmastt/main
Browse files Browse the repository at this point in the history
Modified both user and admin view for statistics
  • Loading branch information
eleni-adamidi authored Oct 19, 2023
2 parents a3a4a12 + 35db3e3 commit c726558
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 306 deletions.
11 changes: 11 additions & 0 deletions models/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,12 @@ public static function userStatisticsParticipant($uid, $username)


];

foreach ($final as $f){
if (empty($f)){
$f=0;
}
}
return $final;
}

Expand Down Expand Up @@ -1303,6 +1309,11 @@ public static function userStatisticsOwner($uid, $username)


];
foreach ($final as $f){
if (empty($f)){
$f=0;
}
}
return $final;
}

Expand Down
Loading

0 comments on commit c726558

Please sign in to comment.