Skip to content
Commit 7fb7a12e authored by Björn Geuken's avatar Björn Geuken
Browse files

[frontend] Fix undefined method error in user helper

This method got recently moved and refactored (15e02640), which
caused a bug in the _printed_name method.

"undefined method `<<' for #<User:0x00007f9f368b6dc0>"

We have to duplicate the user login (`user.login.dup`), because
otherwise we would assign the object reference of user.login. Which
means that any later changes of `printed_name` would alter the login of
the user object, e.g. (when we call String#<< later in this method).
parent f5dfa3e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment