From cd64e488d185ee35edc8838e4dda32efacee037a Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 12 Jan 2004 17:38:51 +0000 Subject: [PATCH] reverting erroneouse quoting : in show columns, the tablename must NOT be quoted (no prepare / execute) --- admin/koha2marclinks.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl index 56e0cf9744..0a64bc700f 100755 --- a/admin/koha2marclinks.pl +++ b/admin/koha2marclinks.pl @@ -106,8 +106,8 @@ if ($op eq 'add_form') { $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 = (); -- 2.39.5