Skip to content

Commit

Permalink
Merge pull request #62 from katmastt/main
Browse files Browse the repository at this point in the history
Fixed minor error at user_statistics admin page
  • Loading branch information
eleni-adamidi authored Oct 18, 2023
2 parents b66ebda + 1ff40a7 commit 3911bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/AdministrationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ public function actionUserStatistics($id)
return $this->redirect(['/administration/user-stats-list']);
}
$username=explode('@',$user->username)[0];
$usage_owner=Project::userStatisticsOwner($user->id);
$usage_participant=Project::userStatisticsParticipant($user->id);
$usage_owner=Project::userStatisticsOwner($user->id,$user->username);
$usage_participant=Project::userStatisticsParticipant($user->id,$user->username);

return $this->render('user_statistics', ['usage_participant'=>$usage_participant,'usage_owner'=>$usage_owner, 'username'=>$username]);
}
Expand Down

0 comments on commit 3911bea

Please sign in to comment.