aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Template/SafeString.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Template/SafeString.pm')
-rw-r--r--perllib/FixMyStreet/Template/SafeString.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Template/SafeString.pm b/perllib/FixMyStreet/Template/SafeString.pm
index 619bee048..263937b39 100644
--- a/perllib/FixMyStreet/Template/SafeString.pm
+++ b/perllib/FixMyStreet/Template/SafeString.pm
@@ -69,6 +69,12 @@ sub clone {
return $clone;
}
+sub TO_JSON {
+ my $self = shift;
+
+ return $$self;
+}
+
1;
__END__