[Koha-cvs] CVS: koha/admin koha2marclinks.pl,1.8.2.2,1.8.2.3
Paul POULAIN
tipaul at users.sourceforge.net
Mon Jan 12 18:38:54 CET 2004
Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv30456/admin
Modified Files:
Tag: rel_2_0
koha2marclinks.pl
Log Message:
reverting erroneouse quoting : in show columns, the tablename must NOT be quoted (no prepare / execute)
Index: koha2marclinks.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/koha2marclinks.pl,v
retrieving revision 1.8.2.2
retrieving revision 1.8.2.3
diff -C2 -r1.8.2.2 -r1.8.2.3
*** koha2marclinks.pl 30 Dec 2003 17:49:34 -0000 1.8.2.2
--- koha2marclinks.pl 12 Jan 2004 17:38:51 -0000 1.8.2.3
***************
*** 107,112 ****
}
#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 $toggle="white";
--- 107,112 ----
}
#XXX: This might not work. Maybe should use a DBI call instead of SHOW COLUMNS
! my $sth2=$dbh->prepare("SHOW COLUMNS from $tablename");
! $sth2->execute;
my $toggle="white";
More information about the Koha-cvs
mailing list