http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14036

--- Comment #2 from M. Tompsett <[email protected]> ---
Comment on attachment 38399
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38399
Patch that adds date validation

Review of attachment 38399:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14036&attachment=38399)
-----------------------------------------------------------------

::: C4/Serials.pm
@@ +2246,5 @@
>          my $expirationdate = GetExpirationDate($subscriptionid);
>          my ($res) = $dbh->selectrow_array('select max(planneddate) from 
> serial where subscriptionid = ?', undef, $subscriptionid);
>          my $nextdate = GetNextDate($subscription, $res);
> +
> +        return unless ($nextdate and $expirationdate);

See also bug 13109.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to