fix: No current asset when ending up on Not Found page
This commit is contained in:
parent
7627174884
commit
29045734e5
4 changed files with 5 additions and 3 deletions
|
|
@ -50,7 +50,8 @@ sub handler {
|
|||
my $output = "";
|
||||
my $notFound = WebGUI::Asset->getNotFound($session);
|
||||
if (defined $notFound) {
|
||||
$output = eval { $notFound->www_view };
|
||||
$session->asset($notFound);
|
||||
$output = eval { $notFound->www_view };
|
||||
}
|
||||
else {
|
||||
$session->errorHandler->error("The notFound page could not be instanciated!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue