summaryrefslogtreecommitdiff
path: root/httemplate/config/config.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/config/config.cgi')
-rw-r--r--httemplate/config/config.cgi8
1 files changed, 6 insertions, 2 deletions
diff --git a/httemplate/config/config.cgi b/httemplate/config/config.cgi
index 10bbadaf8..485565e80 100644
--- a/httemplate/config/config.cgi
+++ b/httemplate/config/config.cgi
@@ -267,11 +267,15 @@ Setting <% $key %>
</BODY>
</HTML>
<%once>
+
my $conf = new FS::Conf;
-my %confitems = map { $_->key => $_ } $conf->config_items;
-</%once>
+my @config_items = grep { $_->key != ~/^invoice_(html|latex|template)/ }
+ $conf->config_items;
+my %confitems = map { $_->key => $_ } @config_items;
+</%once>
<%init>
+
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');