Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
Issue 285: Get sigla from user card instead of user
Browse files Browse the repository at this point in the history
  • Loading branch information
sipek-mzk committed Oct 1, 2021
1 parent 1507c5d commit 84e4188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/CPK/src/CPK/Controller/RecordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ public function mvsFormAction()
foreach ($userCards as $userCard){
if($userCard->eppn == $eppn){
$catUsername = $userCard->cat_username;
$cardHomeLibrary = $userCard->home_library;
break;
}
}
Expand All @@ -421,7 +422,7 @@ public function mvsFormAction()
$user->firstname,
$user->lastname,
$email,
$driver->sourceToSigla($user->home_library),
$driver->sourceToSigla($cardHomeLibrary),
true,
true,
$catUsername
Expand Down

0 comments on commit 84e4188

Please sign in to comment.