X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d259fd6622ef7b39fe643bb561bc58a44f5257b0..245d5036b6fbc2c9e4692244aff22d5188771e09:/SL/Template/Plugin/JSON.pm diff --git a/SL/Template/Plugin/JSON.pm b/SL/Template/Plugin/JSON.pm index 1fe8f19d4..0586511c6 100644 --- a/SL/Template/Plugin/JSON.pm +++ b/SL/Template/Plugin/JSON.pm @@ -21,7 +21,7 @@ sub json_converter { my ($self, %params) = @_; if (!$self->{json}) { - $self->{json} = JSON->new->allow_nonref(1); + $self->{json} = JSON->new->allow_nonref(1)->convert_blessed(1); my $args = $self->{json_args};