View | Details | Raw Unified | Return to bug 7799
Collapse All | Expand All

(-)a/admin/marctagstructure.pl (-1 / +1 lines)
Lines 348-353 sub StringSearch { Link Here
348
#
348
#
349
sub duplicate_framework {
349
sub duplicate_framework {
350
	my ($newframeworkcode,$oldframeworkcode) = @_;
350
	my ($newframeworkcode,$oldframeworkcode) = @_;
351
	my $dbh = C4::Context->dbh;
351
	my $sth = $dbh->prepare("select tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value from marc_tag_structure where frameworkcode=?");
352
	my $sth = $dbh->prepare("select tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value from marc_tag_structure where frameworkcode=?");
352
	$sth->execute($oldframeworkcode);
353
	$sth->execute($oldframeworkcode);
353
	my $sth_insert = $dbh->prepare("insert into marc_tag_structure (tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) values (?,?,?,?,?,?,?)");
354
	my $sth_insert = $dbh->prepare("insert into marc_tag_structure (tagfield, liblibrarian, libopac, repeatable, mandatory, authorised_value, frameworkcode) values (?,?,?,?,?,?,?)");
354
- 

Return to bug 7799