Bugzilla – Attachment 57430 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]
[SIGNED-OFF]Bug 17558: Fix adding manager id to patron messages in store method
SIGNED-OFFBug-17558-Fix-adding-manager-id-to-patro.patch (text/plain), 1.00 KB, created by
Héctor Eduardo Castro Avalos
on 2016-11-10 16:56:25 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 17558: Fix adding manager id to patron messages in store method
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-11-10 16:56:25 UTC
Size:
1.00 KB
patch
obsolete
>From 1f3f903d8ae08767718b39edf08f0f08b3dda664 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] [SIGNED-OFF]Bug 17558: Fix adding manager id to patron > messages in store method > >Test plan: > >prove t/db_dependent/Koha/Patron/Messages.t > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised. Pass OK >--- > 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"); >-- >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 17558
:
57222
|
57223
|
57430
|
57431
|
57455
|
57456
|
57457
|
57458
|
57459