get() shouldn't return session; fixes the Asset.t "get, specific properties - no session" test

This commit is contained in:
Scott Walters 2010-06-03 20:04:01 -04:00
parent b5d17576b0
commit 7933e12ab5

View file

@ -68,6 +68,7 @@ sub get {
return undef;
}
my %properties = map { $_ => scalar $self->$_ } $self->meta->get_all_attributes_list;
delete $properties{session};
return \%properties;
}