Fix for bug in updatedatabase (extra comma) (fixed by Chris Nighswonger)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2008-01-27 13:17:30 -06:00 committed by Joshua Ferraro
parent e6859a3f81
commit c6086ad8bc

View file

@ -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);
}