Bugzilla – Attachment 126437 Details for
Bug 28700
"Unblessed" method in Object.pm has blessed values for keys in some cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28700: hotfix for scalar in $infos
Bug-28700-hotfix-for-scalar-in-infos.patch (text/plain), 901 bytes, created by
Andrii Nugged
on 2021-10-18 13:53:05 UTC
(
hide
)
Description:
Bug 28700: hotfix for scalar in $infos
Filename:
MIME Type:
Creator:
Andrii Nugged
Created:
2021-10-18 13:53:05 UTC
Size:
901 bytes
patch
obsolete
>From 1dcfc2d6aa7d86368f74eb7c66c00bc8cc79fa63 Mon Sep 17 00:00:00 2001 >From: Andrew Nugged <nugged@gmail.com> >Date: Mon, 18 Oct 2021 16:48:55 +0300 >Subject: [PATCH] Bug 28700: hotfix for scalar in $infos > >to test: just creation of new borrowers blocked without this hotfix. >--- > C4/Log.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Log.pm b/C4/Log.pm >index 15752b815b..b3505ff6ac 100644 >--- a/C4/Log.pm >+++ b/C4/Log.pm >@@ -77,7 +77,7 @@ sub logaction { > $interface //= C4::Context->interface; > > $infos = $infos->get_from_storage >- if ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object'); >+ if ref($infos) && ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object'); > > my $dbh = C4::Context->dbh; > my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface) values (now(),?,?,?,?,?,?)"); >-- >2.33.0
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 28700
:
122770
|
122776
|
122797
|
126082
|
126181
| 126437 |
126902