projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Debian 9 compatibility fix for JSON and RT, RT#78665
[freeside.git]
/
rt
/
lib
/
RT
/
Interface
/
Web.pm
diff --git
a/rt/lib/RT/Interface/Web.pm
b/rt/lib/RT/Interface/Web.pm
index
af41e5b
..
3ea4897
100644
(file)
--- 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;
}