Bugzilla – Attachment 46160 Details for
Bug 15429
sub _parseletter should not change referenced values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15429 Followup to avoid test failing
Bug-15429-Followup-to-avoid-test-failing.patch (text/plain), 847 bytes, created by
Frédéric Demians
on 2015-12-31 18:38:36 UTC
(
hide
)
Description:
Bug 15429 Followup to avoid test failing
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-12-31 18:38:36 UTC
Size:
847 bytes
patch
obsolete
>From 28adc29bdf98810aa797e08e3388194aa1332a3c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Thu, 31 Dec 2015 19:25:10 +0100 >Subject: [PATCH] Bug 15429 Followup to avoid test failing > >--- > C4/Letters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index d07d33f..67753dc 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -801,7 +801,7 @@ sub _parseletter { > > # Work on a local copy of $values_in (passed by reference) to avoid side effects > # in callers ( by changing / formatting values ) >- my $values = { %$values_in }; >+ my $values = $values_in ? { %$values_in } : {}; > > if ( $table eq 'borrowers' && $values->{'dateexpiry'} ){ > $values->{'dateexpiry'} = format_sqldatetime( $values->{'dateexpiry'} ); >-- >2.6.2
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 15429
:
45994
|
46072
|
46073
|
46076
|
46077
| 46160