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

(-)a/cataloguing/addholding.pl (-2 / +1 lines)
Lines 587-593 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
587
my $record = $holding_id ? Koha::Holdings->find($holding_id) : Koha::Holding->new();
587
my $record = $holding_id ? Koha::Holdings->find($holding_id) : Koha::Holding->new();
588
588
589
$frameworkcode = $record->frameworkcode if ($record);
589
$frameworkcode = $record->frameworkcode if ($record);
590
$frameworkcode = 'HLD' if ($frameworkcode eq '');
590
$frameworkcode = 'HLD' if not $frameworkcode or $frameworkcode eq '';
591
591
592
# TODO: support in advanced editor?
592
# TODO: support in advanced editor?
593
#if ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' ) {
593
#if ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' ) {
594
- 

Return to bug 20447