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

(-)a/authorities/merge.pl (-2 / +1 lines)
Lines 94-100 else { Link Here
94
        my $recordObj1 = Koha::Authority->get_from_authid($authid[0]) || Koha::Authority->new();
94
        my $recordObj1 = Koha::Authority->get_from_authid($authid[0]) || Koha::Authority->new();
95
        my $recordObj2;
95
        my $recordObj2;
96
96
97
        if ($mergereference eq 'breeding') {
97
        if (defined $mergereference && $mergereference eq 'breeding') {
98
            $recordObj2 =  Koha::Authority->get_from_breeding($authid[1]) || Koha::Authority->new();
98
            $recordObj2 =  Koha::Authority->get_from_breeding($authid[1]) || Koha::Authority->new();
99
        } else {
99
        } else {
100
            $recordObj2 =  Koha::Authority->get_from_authid($authid[1]) || Koha::Authority->new();
100
            $recordObj2 =  Koha::Authority->get_from_authid($authid[1]) || Koha::Authority->new();
101
- 

Return to bug 5202