From 407e9c163a2fe338c1b567f36511f363c7216490 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Mon, 16 Feb 2015 10:50:17 +0100 Subject: [PATCH] Bug 13712 - Missing newline in DB update 3.19.00.010 To test: - Make sure your database is pre 3.19.00.010 (for example by loading in an older backup) - Run through the web-based database update (web installer, step 3) - Verify that updates 3.19.00.010 and 3.19.00.011 are squashed together on one line - Apply the patch - Reset the database and run the web-based database upgrade again - Verify that the two uupdates are noe displayed on separate lines (as separate bullet points) Signed-off-by: Tomas Cohen Arazi --- 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 ad8ec97054..dc2554c247 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -9755,7 +9755,7 @@ if ( CheckVersion($DBversion) ) { $DBversion = "3.19.00.010"; if ( CheckVersion($DBversion) ) { $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SessionRestrictionByIP','1','Check for Change in Remote IP address for Session Security. Disable when remote ip address changes frequently.','','YesNo')"); - print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)"; + print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)\n"; SetVersion ($DBversion); } -- 2.39.5