Commit e21fb627 authored by Yadd's avatar Yadd
Browse files

Better fix for #1743

parent 11c6c2b5
......@@ -109,10 +109,10 @@ sub BUILD {
# Load session data into object
if ($data) {
$self->_save_data($data);
if ( $self->kind ) {
return undef unless ( $data->{_session_kind} eq $self->kind );
}
$self->_save_data($data);
$self->kind( $data->{_session_kind} );
$self->id( $data->{_session_id} );
......
Supports Markdown
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