Bugzilla – Attachment 77627 Details for
Bug 21188
t/db_dependent/Circulation/issue.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21188: Convert return_date to a DateTime object
Bug-21188-Convert-returndate-to-a-DateTime-object.patch (text/plain), 965 bytes, created by
Jonathan Druart
on 2018-08-09 13:52:19 UTC
(
hide
)
Description:
Bug 21188: Convert return_date to a DateTime object
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-09 13:52:19 UTC
Size:
965 bytes
patch
obsolete
>From bee98d8f629d8dbc57a7d3ef48355220c648f991 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 9 Aug 2018 13:28:27 +0000 >Subject: [PATCH] Bug 21188: Convert return_date to a DateTime object > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index a1f86b9f10..b772a7a999 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1988,7 +1988,7 @@ sub AddReturn { > > if ( $issue and $issue->is_overdue ) { > # fix fine days >- $today = $return_date if $return_date; >+ $today = dt_from_string($return_date) if $return_date; > $today = $dropboxdate if $dropbox; > my ($debardate,$reminder) = _debar_user_on_return( $patron_unblessed, $item, dt_from_string($issue->date_due), $today ); > if ($reminder){ >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21188
:
77622
| 77627