Bug 14902 - Fix issues with updatedatabase.pl

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2016-07-08 14:01:41 +00:00
parent 80921b10f5
commit f65cf574d0
1 changed files with 2 additions and 2 deletions

View File

@ -12729,7 +12729,7 @@ if ( CheckVersion($DBversion) ) {
$DBversion = '16.06.00.008';
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
INSERT INTO systempreferences (variable,value,options,explanation,type)
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
VALUES('CheckPrevCheckout','hardno','hardyes|softyes|softno|hardno','By default, for every item checked out, should we warn if the patron has checked out that item in the past?','Choice');
});
$dbh->do(q{
@ -12748,7 +12748,7 @@ if ( CheckVersion($DBversion) ) {
AFTER `privacy_guarantor_checkouts`;
});
print "Upgrade to $DBversion done (Bug 6906 - show 'Borrower has previously issued $ITEM' alert on checkout)\n";
print "Upgrade to $DBversion done (Bug 6906 - show 'Borrower has previously issued \$ITEM' alert on checkout)\n";
SetVersion($DBversion);
}