Bugzilla – Attachment 44621 Details for
Bug 14985
Remove C4::Dates from 6 files in folder C4/*.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14985: (followup) Remove C4::Dates from C4/Overdues.pm
Bug-14985-followup-Remove-C4Dates-from-C4Overduesp.patch (text/plain), 1.13 KB, created by
Marc Véron
on 2015-11-08 19:39:30 UTC
(
hide
)
Description:
Bug 14985: (followup) Remove C4::Dates from C4/Overdues.pm
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-11-08 19:39:30 UTC
Size:
1.13 KB
patch
obsolete
>From 754c5d03660e005ff418ba50674bcdeca85cb485 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sun, 8 Nov 2015 20:26:26 +0100 >Subject: [PATCH] Bug 14985: (followup) Remove C4::Dates from C4/Overdues.pm > >Ths patch removes a stray C4::Dates from C4/Overdues.pm > >- To test got to a patron who has overdues > (Home > Circulation > Checkouts > [Patron]) >- Print overdues >--- > C4/Overdues.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Overdues.pm b/C4/Overdues.pm >index 0fc6232..72c0704 100644 >--- a/C4/Overdues.pm >+++ b/C4/Overdues.pm >@@ -33,6 +33,7 @@ use C4::Accounts; > use C4::Log; # logaction > use C4::Debug; > use C4::Budgets qw(GetCurrency); >+use Koha::DateUtils; > > use vars qw($VERSION @ISA @EXPORT); > >@@ -978,7 +979,7 @@ sub parse_overdues_letter { > } > > my $substitute = $params->{'substitute'} || {}; >- $substitute->{today} ||= C4::Dates->new()->output("syspref"); >+ $substitute->{today} ||= output_pref( { dt => dt_from_string, dateonly => 1} ); > > my %tables = ( 'borrowers' => $params->{'borrowernumber'} ); > if ( my $p = $params->{'branchcode'} ) { >-- >1.7.10.4
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 14985
:
43285
|
44439
|
44556
|
44621
|
44699
|
44700
|
44701
|
44739
|
44740
|
44741
|
44764
|
44765