summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-11-27 18:28:30 -0500
committerMitch Jackson <mitch@freeside.biz>2018-11-27 18:31:06 -0500
commit57274014205c53716c2bf0c4fb3e9ffe257e4654 (patch)
tree9ffd096969c231e13db39a1a8b20b278cb18a82d /FS
parent5749847c1d8a05f605127e7e0601ca17ea0bf996 (diff)
RT# 38217 Fix msg_template freeside-upgrade bug
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/msg_template.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm
index 13c8d9c49..3b7c3aa84 100644
--- a/FS/FS/msg_template.pm
+++ b/FS/FS/msg_template.pm
@@ -929,8 +929,9 @@ sub _populate_initial_data { #class method
die $error if $error;
$conf->set( $hash->{_conf}, $msg_template->msgnum ) if $hash->{_conf};
- FS::upgrade_journal->set_done( $hash->{_upgrade_journal} );
-
+ FS::upgrade_journal->set_done( $hash->{_upgrade_journal} )
+ if $hash->{_upgrade_journal};
+
}
}