From bce8bed3fc9b61d7c8aa9c0f2a7fd1c43a2658e1 Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Tue, 27 Jun 2006 19:31:10 +0000 Subject: [PATCH] commerce fix --- docs/upgrades/upgrade_6.99.5-7.0.0.pl | 7 +++++++ 1 file changed, 7 insertions(+) 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 {