Commit 11c6c2b5 authored by Yadd's avatar Yadd
Browse files

Fix #1743 for 1.9.*

parent a6df9486
......@@ -110,6 +110,9 @@ 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->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