From 7e3b48905ba456d46c64abe314fdc8393bf202e3 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 29 Apr 2016 23:22:28 +0200 Subject: Fixing issue 2 on github manauser edit with special chars in fullname --- lib/ManaTools/Module/Users.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ManaTools/Module/Users.pm b/lib/ManaTools/Module/Users.pm index c73e2bd3..715765d3 100644 --- a/lib/ManaTools/Module/Users.pm +++ b/lib/ManaTools/Module/Users.pm @@ -1954,9 +1954,12 @@ sub _userEdit_Ok { return 0; } + my $fullname = $userData->{full_name}; + utf8::decode($fullname); + my $userInfo = { username => $userData->{username}, - fullname => $userData->{full_name}, + fullname => $fullname, homedir => $userData->{homedir}, shell => $userData->{shell}, members => $userData->{members}, -- cgit v1.2.1