From f65cf574d0ad0aa1264dd78bdb7b5baeb09e5e95 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 8 Jul 2016 14:01:41 +0000 Subject: [PATCH] Bug 14902 - Fix issues with updatedatabase.pl Signed-off-by: Kyle M Hall --- installer/data/mysql/updatedatabase.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 71018e1594..86d8d17439 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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); } -- 2.39.5