From 702080eb861261292b55cfa2bbc07127024d6f9e Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Mon, 30 Apr 2012 12:15:13 +0200 Subject: [PATCH] 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 Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- admin/z3950servers.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index 14603f6ba5..3bc0ef29de 100755 --- a/admin/z3950servers.pl +++ b/admin/z3950servers.pl @@ -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 -- 2.39.5