Bugzilla – Attachment 183450 Details for
Bug 39712
Query parameters break the manual mappings in vue modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39712: Remove warnings
Bug-39712-Remove-warnings.patch (text/plain), 1.11 KB, created by
PTFS Europe Sandboxes
on 2025-06-24 12:26:43 UTC
(
hide
)
Description:
Bug 39712: Remove warnings
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2025-06-24 12:26:43 UTC
Size:
1.11 KB
patch
obsolete
>From 46176fae71f8f51f7f20b1a5fba8774e94b32ff3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 Jun 2025 12:30:36 +0200 >Subject: [PATCH] Bug 39712: Remove warnings > >[WARN] Use of uninitialized value $view in exists at /kohadevbox/koha/Koha/Manual.pm line 346. > >Signed-off-by: Aude Charillon <aude.charillon@openfifth.co.uk> >--- > Koha/Manual.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Manual.pm b/Koha/Manual.pm >index 897fec654d..90f06d0b5d 100644 >--- a/Koha/Manual.pm >+++ b/Koha/Manual.pm >@@ -340,9 +340,9 @@ sub get_url { > my $base_url = _get_base_url($preferred_language); > return $base_url > . ( >- exists $mapping->{$view} ? $mapping->{$view} >- : exists $mapping->{$file} ? $mapping->{$file} >- : $mapping->{mainpage} >+ ( defined $view && exists $mapping->{$view} ) ? $mapping->{$view} >+ : ( exists $mapping->{$file} ) ? $mapping->{$file} >+ : $mapping->{mainpage} > ); > } > >-- >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 39712
:
183437
|
183438
|
183439
|
183440
|
183441
|
183447
|
183448
|
183449
| 183450 |
183451