X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fconfig%2Fconfig-view.cgi;h=5f09b128a383fcc6e6f531039a5c2341d41dbc11;hp=edbda5ca9c2688dde24c5d1d60ae616411c9caef;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hpb=0aaf7f8b540c21b10799d122c9a9399da6460a47 diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index edbda5ca9..5f09b128a 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -212,11 +212,15 @@ invoice language options: -
<% encode_entities(join("\n",
-     map { length($_) > 88 ? substr($_,0,88).'...' : $_ }
-         $conf->config($i->key, $agentnum)
-   ) )
-%>
+ +% my $escaped = eval { encode_entities(join("\n", +% map { length($_) > 88 ? substr($_,0,88).'...' : $_ } +% $conf->config($i->key, $agentnum) +% ) ); +% }; +% $escaped = $@ ? '('.encode_entities($@).')' : $escaped; +
<% $escaped %>
+ @@ -435,7 +439,7 @@ my @sections = (qw( important billing payments payment_batching credit_cards e-checks taxation packages suspension cancellation - printing print_services + printing print_services email_to_voice_services invoicing invoice_email invoice_balances invoice_templates quotations notification UI addresses customer_number customer_fields reporting localization scalability backup