5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-20 17:36:22 +00:00

Merge branch 'issue-12754' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-23 17:53:49 -03:00
commit cc412ad27b

View file

@ -165,7 +165,7 @@ class UsuariesController < ApplicationController
end
def invite_as
Rol.role?(params[:invite_as].singularize) ? params[:invite_as] : Rol::INVITADE.pluralize
Rol.role?(params[:invite_as]&.singularize) ? params[:invite_as] : Rol::INVITADE.pluralize
end
def site