Fixed getRoot, getDefault, and getNotFound to pass them a session
This commit is contained in:
parent
6eb252d907
commit
cd45f88e9f
4 changed files with 4 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ Renders an asset selector.
|
|||
|
||||
sub toHtml {
|
||||
my $self = shift;
|
||||
my $asset = WebGUI::Asset->newByDynamicClass($self->get("value")) || WebGUI::Asset->getRoot;
|
||||
my $asset = WebGUI::Asset->newByDynamicClass($self->get("value")) || WebGUI::Asset->getRoot($self->session);
|
||||
return WebGUI::Form::Hidden->new(
|
||||
name=>$self->get("name"),
|
||||
extras=>$self->get("extras"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue