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

Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #46072|0                           |1
        is obsolete|                            |
  Attachment #46073|0                           |1
        is obsolete|                            |

--- Comment #9 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 46076
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46076&action=edit
Bug 15429 - sub _parseletter should not change referenced values

In C4/Letters.pm, sub _parseletter changes values that are passed by
reference. E.g. patron's expiry date can change from iso format to
syspref format, leading to strange behaviour in the calling routines
(see Bug 15423).

This patch makes sub _parseletter work on a copy of the referenced values.

(Submitted to get feedback - is this the way to go?)

Signed-off-by: Frédéric Demians <f.demi...@tamil.fr>
  Good solution to real time bomb.

Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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