Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 1a25043

Browse files
committed
Fixed bug in regirection to registration
* Fixed bug in redirect to registration in case only one VO and one group is available
1 parent 9271252 commit 1a25043

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6+
#### Fixed
7+
- Fixed bug in redirect to registration in case only one VO and one group is available
8+
69
## [v3.2.0]
710
#### Added
811
- Added filter JoinGroupsAndEduPersonEntitlement

www/perun_identity_choose_vo_and_group.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
} elseif (count($groupsForRegistration) == 1) {
4646
$params = [];
4747
$vo = explode(':', $groupsForRegistration[0]->getUniqueName(), 2)[0];
48-
$group = $groupsForRegistration[0]->getName();
48+
$group = $groupsForRegistration[0]->getName()[0];
4949
$callback = Module::getModuleURL('perun/perun_identity_callback.php', ['stateId' => $stateId]);
5050

5151
$params['vo'] = $vo;

0 commit comments

Comments
 (0)