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

(-)a/C4/Circulation.pm (-2 / +2 lines)
Lines 3911-3917 sub GetAgeRestriction { Link Here
3911
            }
3911
            }
3912
3912
3913
            #Get how many days the borrower has to reach the age restriction
3913
            #Get how many days the borrower has to reach the age restriction
3914
            my $daysToAgeRestriction = Date_to_Days(@alloweddate) - Date_to_Days(Today);
3914
            my @Today = split /-/, DateTime->today->ymd();
3915
            my $daysToAgeRestriction = Date_to_Days(@alloweddate) - Date_to_Days(@Today);
3915
            #Negative days means the borrower went past the age restriction age
3916
            #Negative days means the borrower went past the age restriction age
3916
            return ($restriction_year, $daysToAgeRestriction);
3917
            return ($restriction_year, $daysToAgeRestriction);
3917
        }
3918
        }
3918
- 

Return to bug 14362