otherwise, the new issuedate will be empty
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
my $biblio = GetBiblioFromItemNumber($itemnumber);
# If the due date wasn't specified, calculate it by adding the
# book's loan length to today's date.
my $biblio = GetBiblioFromItemNumber($itemnumber);
# If the due date wasn't specified, calculate it by adding the
# book's loan length to today's date.
+ unless ( $datedue->output('iso') ) {
my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 );
my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 );