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

(-)a/C4/Letters.pm (-1 / +7 lines)
Lines 693-698 sub GetPreparedLetter { Link Here
693
        }
693
        }
694
    }
694
    }
695
695
696
    my $patron = Koha::Patrons->find($tables->{borrowers});
697
    my @guarantors;
698
    if ( $patron->guarantor_relationships->count ) {
699
            @guarantors = $patron->guarantor_relationships->guarantors;
700
    }
701
    my $guarantor = $guarantors[0];
702
    $$tables{guarantor}=$guarantor->unblessed;
696
    if (%$tables) {
703
    if (%$tables) {
697
        _substitute_tables( $letter, $tables );
704
        _substitute_tables( $letter, $tables );
698
    }
705
    }
699
- 

Return to bug 28556