Bug 8253 - Fine doubling
Provides a fix that during database upgrade, fines are correclty formatted. Once the misc/cronjobs/fines.pl is run in the upgraded database, it will not result in duplicate fines being generated. Signed-off-by: wajasu <matted-34813@mypacks.net>
This commit is contained in:
parent
9ea2bb7eca
commit
18297b04c1
1 changed files with 2 additions and 1 deletions
|
@ -5026,7 +5026,8 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
|
|||
$dbh->do("ALTER TABLE old_issues CHANGE returndate returndate datetime");
|
||||
$dbh->do("ALTER TABLE old_issues CHANGE lastreneweddate lastreneweddate datetime");
|
||||
$dbh->do("ALTER TABLE old_issues CHANGE issuedate issuedate datetime");
|
||||
print "Upgrade to $DBversion done (Setting up issues tables for hourly loans)\n";
|
||||
$dbh->do("UPDATE accountlines SET description = CONCAT(description,' 23:59') WHERE accounttype='F' OR accounttype='FU'"); #BUG-8253
|
||||
print "Upgrade to $DBversion done (Setting up issues and accountlines tables for hourly loans)\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue