Fix for bug in updatedatabase (extra comma) (fixed by Chris Nighswonger)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
e6859a3f81
commit
c6086ad8bc
1 changed files with 3 additions and 5 deletions
|
@ -962,9 +962,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
|
||||
$DBversion = "3.00.00.049";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("ALTER TABLE `z3950servers`
|
||||
ADD `encoding` text default NULL,
|
||||
");
|
||||
$dbh->do("ALTER TABLE `z3950servers` ADD `encoding` text default NULL ");
|
||||
print "Upgrade to $DBversion done ( Added encoding field to z3950servers table )\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue