From 6ec2a3737505965f12b8df8b0aba5d4a84c108a0 Mon Sep 17 00:00:00 2001
From: mbeaulieu <mbeaulieu@inlibro.com>
Date: Mon, 30 Jun 2014 08:08:02 -0400
Subject: [PATCH] Bug 12448 - I have set the appropriate default and corrected
 the typo in updatedatabase.

---
 installer/data/mysql/updatedatabase.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 85f34a2..0baccd9 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -8563,7 +8563,7 @@ if ( CheckVersion($DBversion) ) {
 $DBversion = "XXX";
 if ( CheckVersion($DBversion) ) {
     $dbh->do(q|
-        INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('RentalFeesCheckoutConfirmation', '1', NULL , 'Allow user to confirme when checking out an item with rental fees.', 'YesNo')
+        INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('RentalFeesCheckoutConfirmation', '0', NULL , 'Allow user to confirm when checking out an item with rental fees.', 'YesNo')
     |);
     print "Upgrade to $DBversion done (Bug 11169 - Add RentalFeesCheckoutConfirmation syspref)\n";
     SetVersion($DBversion);
-- 
1.7.9.5