Bugzilla – Attachment 57222 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), 922 bytes, created by
Josef Moravec
on 2016-11-04 18:51:58 UTC
(
hide
)
Description:
Bug 17558: Fix adding manager id to patron messages in store method
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-11-04 18:51:58 UTC
Size:
922 bytes
patch
obsolete
>From a3859c91f85fc68de3b91b8b59b199c5ac2de598 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 > >Test plan: > >prove t/db_dependent/Koha/Patron/Messages.t >--- > 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