Fixed circular reference

This commit is contained in:
Len Kranendonk 2006-01-15 00:44:34 +00:00
parent a35c81ee06
commit b22cc241c0

View file

@ -422,7 +422,7 @@ Returns a WebGUI::Session::Scratch object.
sub scratch {
my $self = shift;
unless (exists $self->{_scratch}) {
$self->{_scratch} = WebGUI::Session::Scratch->new($self->var->get("sessionId"), $self->db);
$self->{_scratch} = WebGUI::Session::Scratch->new($self->getId, $self->db);
}
return $self->{_scratch};
}