diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 40fa0ed1e..9e759e847 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -821,8 +821,10 @@ sub create { # and causes awkward things like \n's appearing in error # messages in JSON-RPC.) unless (Bugzilla->usage_mode == USAGE_MODE_JSON - or Bugzilla->usage_mode == USAGE_MODE_XMLRPC) + or Bugzilla->usage_mode == USAGE_MODE_XMLRPC + or Bugzilla->usage_mode == USAGE_MODE_REST) { + print STDERR "var: $var"; $var = wrap_comment($var, 72); } $var =~ s/\ / /g; |