Fixed getRoot, getDefault, and getNotFound to pass them a session

This commit is contained in:
Roy Johnson 2006-01-17 16:13:16 +00:00
parent 6eb252d907
commit cd45f88e9f
4 changed files with 4 additions and 4 deletions

View file

@ -213,7 +213,7 @@ sub view {
$children = $self->getLineage(["descendants"],{returnObjects=>1,
includeOnlyClasses=>["WebGUI::Asset::Event"]});
} elsif ($scope == 1) { #calendar is global
$children = WebGUI::Asset::getRoot()->getLineage(["descendants"],{returnObjects=>1,
$children = WebGUI::Asset::getRoot($self->session)->getLineage(["descendants"],{returnObjects=>1,
includeOnlyClasses=>["WebGUI::Asset::Event"]});
}