my $script_name = 'koha2marclinks.pl';
my ($template, $borrowernumber, $cookie)
- = get_template_and_user({template_name => "parameters/koha2marclinks.tmpl",
+ = get_template_and_user({template_name => "admin/koha2marclinks.tmpl",
query => $input,
type => "intranet",
authnotrequired => 0,
$fields{$kohafield}->{liblibrarian} = $liblibrarian;
}
#XXX: This might not work. Maybe should use a DBI call instead of SHOW COLUMNS
- my $sth2=$dbh->prepare("SHOW COLUMNS from ?");
- $sth2->execute($tablename);
+ my $sth2=$dbh->prepare("SHOW COLUMNS from $tablename");
+ $sth2->execute;
my $toggle="white";
my @loop_data = ();