Merge remote-tracking branch 'origin/new/bug_8233'
[koha_fer] / admin / z3950servers.pl
index 14603f6..d6044fc 100755 (executable)
@@ -75,7 +75,7 @@ my ($template, $loggedinuser, $cookie)
                                query => $input,
                                type => "intranet",
                                authnotrequired => 0,
-                               flagsrequired => {parameters => 1},
+                flagsrequired => {parameters => 'parameters_remaining_permissions'},
                                debug => 1,
                                });
 
@@ -141,8 +141,8 @@ if ($op eq 'add_form') {
             $checked,
             $input->param( 'rank' ),
             $input->param( 'syntax' ),
-            $input->param( 'timeout' ),
-            $input->param( 'encoding' ) );
+            $input->param( 'encoding' ),
+            $input->param( 'timeout' ) );
        }
        $sth->finish;
                                                                                                        # END $OP eq ADD_VALIDATE