Handle import of templates with old attachments the correct way.
This commit is contained in:
parent
49374b43eb
commit
30f3897fda
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ Override to import attachments from old versions of WebGUI
|
|||
sub importAssetCollateralData {
|
||||
my ( $self, $data, @args ) = @_;
|
||||
if ( $data->{template_attachments} ) {
|
||||
$self->update( { attachmentsJson => $data->{template_attachments} } );
|
||||
$self->update( { attachmentsJson => JSON::to_json($data->{template_attachments}) } );
|
||||
}
|
||||
return $self->SUPER::importAssetCollateralData( $data, @args );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue