]> git.koha-community.org Git - koha.git/commit
Bug 36758: (follow-up) Fix unit tests
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 12 Aug 2024 09:15:20 +0000 (10:15 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 12 Aug 2024 12:01:08 +0000 (14:01 +0200)
commitf55519b50526cb6957fcaa5967cce3e7b1ebe64c
tree5904baa895a47d7f17cc15dc04a23fafe08b25d7
parent88500ccef49a0cb89248978aa2c178d662b80426
Bug 36758: (follow-up) Fix unit tests

We do two things here..

* We're making the improvement to C4::Letters that sets librarian to a
  patron object more resilient by testing for the userenv first.
* We correct the logic in Koha::Ticket such that we always store changes
  when there's a ticket update

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Letters.pm
Koha/Ticket.pm