Bug 18741: Fix loading of SQL files in web installer
authorJulian Maurice <julian.maurice@biblibre.com>
Wed, 7 Jun 2017 09:29:46 +0000 (11:29 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Jun 2017 15:40:40 +0000 (12:40 -0300)
Test plan:
1. Start a normal install using the web installer
2. When asked to select data to load, verify that
   'message_transport_types' is checked, and check some optional data
   files
3. Continue the install to the end
4. Verify that message_transport_types is not empty, and that the
   optional data you checked is there

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

installer/install.pl

index e4efda7..ac43214 100755 (executable)
@@ -245,7 +245,7 @@ elsif ( $step && $step == 3 ) {
 
         my ( $fwk_language, $list ) =
           $installer->load_sql_in_order( $all_languages,
-            scalar $query->param('framework') );
+            $query->multi_param('framework') );
         $template->param(
             "fwklanguage" => $fwk_language,
             "list"        => $list