From 9fad44059538d1da6ee66e47f3dc9c64845ac307 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 --- admin/z3950servers.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl index 14603f6..3bc0ef2 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 -- 1.7.2.5