Bug 7741 - DBRev 16.06.00.013 - Add IGNORE to insert in case of backporting
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Aug 2016 14:20:06 +0000 (14:20 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Aug 2016 14:20:06 +0000 (14:20 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/updatedatabase.pl

index 370f35b..e67335f 100755 (executable)
@@ -12799,7 +12799,7 @@ if ( CheckVersion($DBversion) ) {
 $DBversion = '16.06.00.013';
 if ( CheckVersion($DBversion) ) {
     $dbh->do(q{
-        INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES
+        INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES
         ('OPACResultsLibrary', 'homebranch', 'homebranch|holdingbranch', 'Defines whether the OPAC displays the holding or home branch in search results when using XSLT', 'Choice');
     });