summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Upgrade.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm
index aabc4e72f..400bacc71 100644
--- a/FS/FS/Upgrade.pm
+++ b/FS/FS/Upgrade.pm
@@ -64,6 +64,15 @@ sub upgrade_config {
upgrade_overlimit_groups($conf);
map { upgrade_overlimit_groups($conf,$_->agentnum) } qsearch('agent', {});
+ # change 'fslongtable' to 'longtable'
+ foreach my $name (qw(invoice_latex)) {
+ my $value = join("\n",$conf->config($name));
+ if (length($value)) {
+ $value =~ s/fslongtable/longtable/g;
+ $conf->set($name, $value);
+ }
+ }
+
}
sub upgrade_overlimit_groups {