Bugzilla – Attachment 186998 Details for
Bug 27432
Add report run to action logs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27432: (QA follow-up) fix if report_id
Bug-27432-QA-follow-up-fix-if-reportid.patch (text/plain), 1.12 KB, created by
Laura Escamilla
on 2025-09-26 17:41:09 UTC
(
hide
)
Description:
Bug 27432: (QA follow-up) fix if report_id
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-26 17:41:09 UTC
Size:
1.12 KB
patch
obsolete
>From d76f3756a25a26af64c917a5b600eabd6a506516 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 28 Jan 2021 10:42:15 +0100 >Subject: [PATCH] Bug 27432: (QA follow-up) fix if report_id > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >--- > C4/Reports/Guided.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Reports/Guided.pm b/C4/Reports/Guided.pm >index beda6f2d7a..844f4534c5 100644 >--- a/C4/Reports/Guided.pm >+++ b/C4/Reports/Guided.pm >@@ -596,7 +596,7 @@ sub execute_query { > my $limit = $params->{limit} || C4::Context->config('report_results_limit') || 999999; > my $sql_params = defined $params->{sql_params} ? $params->{sql_params} : []; > my $report_id = $params->{report_id}; >- my $report = Koha::Reports->find($report_id) if $report_id; >+ my $report = $report_id ? Koha::Reports->find($report_id) : undef; > my $report_name = $report ? $report->report_name : 'Unknown report'; > > # check parameters >-- >2.39.5
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 27432
:
115162
|
115184
|
115926
|
115927
|
117355
|
117356
|
117357
|
117358
|
118953
|
118954
|
118955
|
119817
|
119818
|
119819
|
186046
|
186047
|
186048
|
186997
| 186998 |
186999