bugfix: more debug output when style cannot instance your template
This commit is contained in:
parent
70c00b8a24
commit
fba93ebcbe
2 changed files with 2 additions and 1 deletions
|
|
@ -103,6 +103,7 @@
|
||||||
Search
|
Search
|
||||||
- added: A thumbnail for Photo edit screen
|
- added: A thumbnail for Photo edit screen
|
||||||
- added: Configure the amount of files shown per page in the Gallery
|
- added: Configure the amount of files shown per page in the Gallery
|
||||||
|
- fix: Patch for Style.pm to identify which template failed to instantiate
|
||||||
|
|
||||||
7.5.10
|
7.5.10
|
||||||
- fix: Syntax error in GetCsMail
|
- fix: Syntax error in GetCsMail
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ if ($self->session->user->isInGroup(2) || $self->session->setting->get("preventP
|
||||||
}
|
}
|
||||||
$output = $style->process(\%var);
|
$output = $style->process(\%var);
|
||||||
} else {
|
} else {
|
||||||
$output = "WebGUI was unable to instantiate your style template.".$var{'body.content'};
|
$output = sprintf "WebGUI was unable to instantiate your style template with the id: %s.%s", $templateId, $var{'body.content'};
|
||||||
}
|
}
|
||||||
WebGUI::Macro::process($self->session,\$output);
|
WebGUI::Macro::process($self->session,\$output);
|
||||||
$self->sent(1);
|
$self->sent(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue