leaked 1 from www_view shows up in Asset output
This commit is contained in:
parent
0112793198
commit
97c1039e72
4 changed files with 4 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ sub page {
|
|||
$output = tryAssetMethod($session,$asset,"view") unless ($output || ($method eq "view"));
|
||||
}
|
||||
}
|
||||
if ($output eq "") {
|
||||
if (defined($output) and $output eq "") {
|
||||
$session->http->setStatus("404","Page Not Found");
|
||||
my $notFound = WebGUI::Asset->getNotFound($session);
|
||||
if (defined $notFound) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue