fix: 7.5.0 time tracker templates were corrupt, now fixed.
fix: AssetPackage www_importPackage would give an error message about package being corrupt, but the package would import correctly. No longer gives error message.
This commit is contained in:
parent
3b9be36035
commit
ffa90c5fbd
5 changed files with 12 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ sub www_importPackage {
|
|||
if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {
|
||||
$error = $self->importPackage($storage);
|
||||
}
|
||||
if ($error) {
|
||||
if (!blessed $error) {
|
||||
my $i18n = WebGUI::International->new($self->session, "Asset");
|
||||
return $self->session->style->userStyle($i18n->get("package corrupt"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue