X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FPlugin%2FJSON.pm;h=0586511c68ccf517b2ef50e080c41108eab5f8a2;hb=1d99e3e9537f75342a9f20f1e89a3e8cb4bb5444;hp=1fe8f19d453be3475cbbe257bcee53cfa27b61ab;hpb=d259fd6622ef7b39fe643bb561bc58a44f5257b0;p=kivitendo-erp.git 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};