Skip to content

Commit

Permalink
Merge pull request #49 from beatrycze-volk/feuser-ts
Browse files Browse the repository at this point in the history
[BUGFIX] Fix condition check for user group in TS config
  • Loading branch information
beatrycze-volk authored Oct 9, 2024
2 parents 02e54c4 + b8c625e commit 5987170
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ plugin.tx_femanager {
}
[end]

[getTSFE().fe_user.user["usergroup"] in [{$femanager.institutionalFeUserGroups}]]
[frontend.user.userGroupIds in [{$femanager.institutionalFeUserGroups}]]
plugin.tx_femanager {
# override "lastName" label
_LOCAL_LANG.de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter
_LOCAL_LANG.en.tx_femanager_domain_model_user.lastName = Legal representatives
_LOCAL_LANG {
de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter
en.tx_femanager_domain_model_user.lastName = Legal representatives
}

settings {
showCompanyFields = 1
Expand Down

0 comments on commit 5987170

Please sign in to comment.