Bug 8027: fix param order for z3950 INSERT

In the z3950servers.pl order of columns which are inserted
for new server is wrong, which results in empty timeout
and encoding values when new server is added.

Test scenario:

1. Open Z39.50 server administration
2. add new server with encoding and timeout
3. save server and verify that it has encoding and timeout

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Adrien Saurat 2012-04-30 12:15:13 +02:00 committed by Paul Poulain
parent 3b41bd09ed
commit d2bdcb4ca5

View file

@ -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