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

(-)a/C4/Circulation.pm (-7 lines)
Lines 1896-1908 sub AddReturn { Link Here
1896
        my $is_overdue;
1896
        my $is_overdue;
1897
        die "The item is not issed and cannot be returned" unless $issue; # Just in case...
1897
        die "The item is not issed and cannot be returned" unless $issue; # Just in case...
1898
        $patron or warn "AddReturn without current borrower";
1898
        $patron or warn "AddReturn without current borrower";
1899
		my $circControlBranch;
1900
        if ($dropbox) {
1899
        if ($dropbox) {
1901
            # define circControlBranch only if dropbox mode is set
1902
            # don't allow dropbox mode to create an invalid entry in issues (issuedate > today)
1903
            # FIXME: check issuedate > returndate, factoring in holidays
1904
1905
            $circControlBranch = _GetCircControlBranch($item,$patron_unblessed);
1906
            $is_overdue = $issue->is_overdue( $dropboxdate );
1900
            $is_overdue = $issue->is_overdue( $dropboxdate );
1907
        } else {
1901
        } else {
1908
            $is_overdue = $issue->is_overdue;
1902
            $is_overdue = $issue->is_overdue;
1909
- 

Return to bug 22049