From: Moritz Bunkus Date: Thu, 30 Dec 2010 14:28:33 +0000 (+0100) Subject: Laden von ge-YAML-dumpten Session-Inhalten gefixt X-Git-Tag: release-2.6.2beta1~17^2~9^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b513b1ef51a01f90bd2a234a69fae4f69013d0f3;p=kivitendo-erp.git Laden von ge-YAML-dumpten Session-Inhalten gefixt --- diff --git a/SL/Auth.pm b/SL/Auth.pm index 120288755..5cedbecf3 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -496,9 +496,8 @@ sub restore_session { $sth = prepare_execute_query($form, $dbh, $query, $session_id); while (my $ref = $sth->fetchrow_hashref()) { - my $value = $self->_load_value($ref->{sess_value}); - $self->{SESSION}->{$ref->{sess_key}} = $value; - $form->{$ref->{sess_key}} = $value if (!defined $form->{$ref->{sess_key}}); + $self->{SESSION}->{$ref->{sess_key}} = $ref->{sess_value}; + $form->{$ref->{sess_key}} = $self->_load_value($ref->{sess_value}) if (!defined $form->{$ref->{sess_key}}); } $sth->finish();