diff --git a/docs/upgrades/upgrade_6.99.5-7.0.0.pl b/docs/upgrades/upgrade_6.99.5-7.0.0.pl index 2d3db8cb3..1cc7f2fba 100644 --- a/docs/upgrades/upgrade_6.99.5-7.0.0.pl +++ b/docs/upgrades/upgrade_6.99.5-7.0.0.pl @@ -21,9 +21,16 @@ my $quiet; # this line required my $session = start(); # this line required # upgrade functions go here +fixCommerceSettings(); finish($session); # this line required +#-------------------------------------------------- +sub fixCommerceSettings { + print "\tFixing Commerce Settings.\n" unless ($quiet); + $session->db->write("insert into settings (name,value) values ('commercePurchaseHistoryTemplateId','PBtmpl0000000000000019'); +} + ##------------------------------------------------- #sub exampleFunction {