View | Details | Raw Unified | Return to bug 11944
Collapse All | Expand All

(-)a/C4/Context.pm (-2 / +3 lines)
Lines 1120-1126 set_userenv is called in Auth.pm Link Here
1120
1120
1121
#'
1121
#'
1122
sub set_userenv {
1122
sub set_userenv {
1123
    my ($usernum, $userid, $usercnum, $userfirstname, $usersurname, $userbranch, $branchname, $userflags, $emailaddress, $branchprinter, $persona)= @_;
1123
    my ($usernum, $userid, $usercnum, $userfirstname, $usersurname, $userbranch, $branchname, $userflags, $emailaddress, $branchprinter, $persona) =
1124
    map { Encode::is_utf8( $_ ) ? $_ : Encode::decode('UTF-8', $_) } # CGI::Session doesn't handle utf-8, so we decode it here
1125
    @_;
1124
    my $var=$context->{"activeuser"} || '';
1126
    my $var=$context->{"activeuser"} || '';
1125
    my $cell = {
1127
    my $cell = {
1126
        "number"     => $usernum,
1128
        "number"     => $usernum,
1127
- 

Return to bug 11944