Bug 15891: Fix errors on updatedatabase
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 24 Feb 2016 12:39:38 +0000 (13:39 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 24 Feb 2016 13:33:52 +0000 (13:33 +0000)
Two curly braces..

Test plan:
Run the update.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/updatedatabase.pl

index 8457913..eb0db8b 100755 (executable)
@@ -11816,6 +11816,7 @@ if ( CheckVersion($DBversion) ) {
 
     print "Upgrade to $DBversion done (Bug 15526 - Drop nozebra database table)\n";
     SetVersion($DBversion);
+}
 
 $DBversion = "3.23.00.026";
 if ( CheckVersion($DBversion) ) {
@@ -11825,6 +11826,7 @@ if ( CheckVersion($DBversion) ) {
 
     print "Upgrade to $DBversion done (Bug 15343 - Allow patrons to choose their own password on self registration)\n";
     SetVersion($DBversion);
+}
 
 # DEVELOPER PROCESS, search for anything to execute in the db_update directory
 # SEE bug 13068