diff options
Diffstat (limited to 'rt/lib/RT')
-rw-r--r-- | rt/lib/RT/Interface/Web.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/lib/RT/Interface/Web.pm b/rt/lib/RT/Interface/Web.pm index af41e5ba6..3ea489709 100644 --- a/rt/lib/RT/Interface/Web.pm +++ b/rt/lib/RT/Interface/Web.pm @@ -194,7 +194,7 @@ SCALAR may be a simple value or a reference. =cut sub EncodeJSON { - my $s = JSON::to_json(shift, { allow_nonref => 1 }); + my $s = JSON::to_json(shift, { allow_blessed => 1, allow_nonref => 1 }); $s =~ s{/}{\\/}g; return $s; } |