[Rt-commit] rt branch, 4.0/json-helper, updated. rt-4.0.4-78-g5c86b1d
Thomas Sibley
trs at bestpractical.com
Thu Dec 1 13:07:29 EST 2011
The branch, 4.0/json-helper has been updated
via 5c86b1d1bb7440a52a2548455557a98c0ca2df63 (commit)
from 1536c6df265bb46199645b94a789ca549bf21266 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 5c86b1d1bb7440a52a2548455557a98c0ca2df63
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Dec 1 13:07:01 2011 -0500
Fully qualify package for to_json since we don't import it
Tests++
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 92fd5d5..2e8a8f9 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -155,7 +155,7 @@ value or a reference.
=cut
sub EncodeJSON {
- to_json(shift, { utf8 => 1, allow_nonref => 1 });
+ JSON::to_json(shift, { utf8 => 1, allow_nonref => 1 });
}
=head2 WebCanonicalizeInfo();
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list