Skip to content

Commit

Permalink
Existing role assignement could not be edited to a shorter period #1681
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Sep 15, 2024
1 parent 4bec5f9 commit 2c4563a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/modules/profile/profile_function.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@

// save role membership
try {
$role->setMembership($user->getValue('usr_id'), $postMembershipStart, $postMembershipEnd, $member->getValue('mem_leader'));
$role->setMembership($user->getValue('usr_id'), $postMembershipStart, $postMembershipEnd, $member->getValue('mem_leader'), true);
} catch (AdmException $e) {
$e->showText();
// => EXIT
Expand Down

0 comments on commit 2c4563a

Please sign in to comment.