projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
22dd001
)
Debian 9 compatibility fix for JSON and RT, RT#78665
author
Mitch Jackson
<mitch@freeside.biz>
Fri, 17 Nov 2017 02:09:09 +0000
(
02:09
+0000)
committer
Mitch Jackson
<mitch@freeside.biz>
Fri, 17 Nov 2017 02:09:09 +0000
(
02:09
+0000)
rt/lib/RT/Interface/Web.pm
patch
|
blob
|
history
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;
}