# To modify something
push @EXPORT, qw(
&ModBiblio
&ModBiblioframework
&ModZebra
&UpdateTotalIssues
&RemoveAllNsb
}
=head2 ModBiblioframework
ModBiblioframework($biblionumber,$frameworkcode);
Exported function to modify a biblio framework
=cut
sub ModBiblioframework {
my ( $biblionumber, $frameworkcode ) = @_;
my $dbh = C4::Context->dbh;
my $sth = $dbh->prepare( "UPDATE biblio SET frameworkcode=? WHERE biblionumber=?" );
$sth->execute( $frameworkcode, $biblionumber );
return 1;
=head2 DelBiblio
my $error = &DelBiblio($biblionumber);
BiblioAutoLink( $record, $frameworkcode );
if ( $is_a_modif ) {
ModBiblioframework( $biblionumber, $frameworkcode );
ModBiblio( $record, $biblionumber, $frameworkcode );
else {
-