[freeside-commits] branch master updated. 367f0149596bd63a05e6a5bfbdfe81d5c229a1fe
Mitch Jackson
mitch at freeside.biz
Thu Nov 16 18:09:51 PST 2017
The branch, master has been updated
via 367f0149596bd63a05e6a5bfbdfe81d5c229a1fe (commit)
from 22dd0016d0938f6acb2127d8168a4a1c5e296d3f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 367f0149596bd63a05e6a5bfbdfe81d5c229a1fe
Author: Mitch Jackson <mitch at freeside.biz>
Date: Fri Nov 17 02:09:09 2017 +0000
Debian 9 compatibility fix for JSON and RT, RT#78665
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;
}
-----------------------------------------------------------------------
Summary of changes:
rt/lib/RT/Interface/Web.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list