bug 3923 OrderPdfFormat default was wrong on update
I went back and updated updatedatabase so that anyone else who updates doesn't end up with the wrong value, this does not fix those who upgraded and have the wrong value in there already. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
a319a402f7
commit
1f5d1299b0
1 changed files with 1 additions and 1 deletions
|
@ -2867,7 +2867,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;");
|
||||
$dbh->do("ALTER TABLE aqbasket ADD COLUMN `basketgroupid` int(11)");
|
||||
$dbh->do("ALTER TABLE aqbasket ADD FOREIGN KEY (`basketgroupid`) REFERENCES `aqbasketgroups` (`id`) ON UPDATE CASCADE ON DELETE SET NULL");
|
||||
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('pdfformat','pdfformat::example','Controls what script is used for printing (basketgroups)','','free')");
|
||||
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('pdfformat','pdfformat::layout2pages','Controls what script is used for printing (basketgroups)','','free')");
|
||||
print "Upgrade to $DBversion done (adding basketgroups)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue