Skip to content

Commit

Permalink
Fix condition check for user group in TS config
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Oct 9, 2024
1 parent 12f87f1 commit b8c625e
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 b8c625e

Please sign in to comment.