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

(-)a/cataloguing/addholding.pl (-2 / +1 lines)
Lines 586-592 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
586
586
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 $holding_id && $record;
590
$frameworkcode = 'HLD' if not $frameworkcode or $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
- 

Return to bug 20447