Bugzilla – Attachment 57457 Details for
Bug 17558
Fix t/db_dependent/Koha/Patron/Messages.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17558: Fix adding manager id to patron messages in store method
Bug-17558-Fix-adding-manager-id-to-patron-messages.patch (text/plain), 1.08 KB, created by
Marcel de Rooy
on 2016-11-11 15:53:51 UTC
(
hide
)
Description:
Bug 17558: Fix adding manager id to patron messages in store method
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-11-11 15:53:51 UTC
Size:
1.08 KB
patch
obsolete
>From 3c830f20044ee633040ef70316188c57447a49b6 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Tue, 25 Oct 2016 21:52:11 +0000 >Subject: [PATCH] Bug 17558: Fix adding manager id to patron messages in store > method >Content-Type: text/plain; charset=utf-8 > >Test plan: > >prove t/db_dependent/Koha/Patron/Messages.t > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised. Pass OK > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Patron/Message.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Patron/Message.pm b/Koha/Patron/Message.pm >index 5e518fb..ea5b9dc 100644 >--- a/Koha/Patron/Message.pm >+++ b/Koha/Patron/Message.pm >@@ -50,7 +50,7 @@ sub store { > and $self->branchcode; > > my $userenv = C4::Context->userenv; >- $self->manager_id($userenv ? $userenv->{number} : 0); >+ $self->manager_id( $userenv ? $userenv->{number} : undef); > > C4::Log::logaction( "MEMBERS", "ADDCIRCMESSAGE", $self->borrowernumber, $self->message ) > if C4::Context->preference("BorrowersLog"); >-- >2.1.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 17558
:
57222
|
57223
|
57430
|
57431
|
57455
|
57456
| 57457 |
57458
|
57459