---
installer/data/mysql/updatedatabase.pl | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/installer/data/mysql/updatedatabase.pl
b/installer/data/mysql/updatedatabase.pl
index 4e1d1cf..9eb7337 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -2756,11 +2756,9 @@ if (C4::Context->preference("Version") <
TransformToNum($DBversion)) {
$DBversion = "3.01.00.068";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
- $dbh->do("ALTER TABLE issuingrules ADD
- COLUMN `finedays` int(11) default NULL AFTER `fine`,
- COLUMN `renewalsallowed` smallint(6) default NULL,
- COLUMN `reservesallowed` smallint(6) default NULL,
- ");
+ $dbh->do("ALTER TABLE issuingrules ADD COLUMN `finedays` int(11)
default NULL AFTER `fine`");
+ $dbh->do("ALTER TABLE issuingrules ADD COLUMN `renewalsallowed`
smallint(6) default NULL");
+ $dbh->do("ALTER TABLE issuingrules ADD COLUMN `reservesallowed`
smallint(6) default NULL");
my $sth = $dbh->prepare("SELECT itemtype, renewalsallowed FROM
itemtypes");
$sth->execute();
my $sthupd = $dbh->prepare("UPDATE issuingrules SET renewalsallowed = ?
WHERE itemtype = ?");
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches