Skip to content

Commit

Permalink
Merge pull request #14851 from eduardoj/fix/issue_14807
Browse files Browse the repository at this point in the history
Add missing `@` to the variable containing the user
  • Loading branch information
krauselukas committed Aug 29, 2023
2 parents 12879f9 + 3d24db8 commit 2ecb7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/webui/groups/users_controller.rb
Expand Up @@ -37,7 +37,7 @@ def update
flash.now[:success] = "Gave maintainer rights to '#{@user}'"
render 'flash', status: :ok
else
flash.now[:error] = "Couldn't make user '#{user}' maintainer: #{group_maintainer.errors.full_messages.to_sentence}"
flash.now[:error] = "Couldn't make user '#{@user}' maintainer: #{group_maintainer.errors.full_messages.to_sentence}"
render 'flash', status: :bad_request
end
else
Expand Down

0 comments on commit 2ecb7fe

Please sign in to comment.