From 73cd4c608164905e8f12b243042b6765b6840e5f Mon Sep 17 00:00:00 2001 From: tipaul Date: Wed, 18 Dec 2002 10:55:16 +0000 Subject: [PATCH] small bugfix to avoid empty list at beginning --- admin/marctagstructure.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index 070ec8c99a..ecbb1fa4c1 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -49,6 +49,7 @@ sub StringSearch { my $input = new CGI; my $searchfield=$input->param('searchfield'); +$searchfield=0 unless $searchfield; my $pkfield="tagfield"; my $reqsel="select tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value from marc_tag_structure where $pkfield='$searchfield'"; my $offset=$input->param('offset'); -- 2.39.5