| Summary: | [WARN] Use of uninitialized value in numeric ne (!=) at C4/Ris.pm line 834. | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
| Component: | Architecture, internals, and plumbing | Assignee: | Marcel de Rooy <m.de.rooy> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | trivial | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
22.11.00
|
|
| Circulation function: | |||
| Attachments: |
Bug 32151: Resolve uninitialized warn in numeric ne in C4::Ris
Bug 32151: Resolve uninitialized warn in numeric ne in C4::Ris |
||
Created attachment 143519 [details] [review] Bug 32151: Resolve uninitialized warn in numeric ne in C4::Ris We should not write: if ($kwfield != undef) { Test plan: Pick record with UTF8 chars. Download via cart or shelf in RIS format. Check your logs. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Trivial oneliner. Self SO Created attachment 143790 [details] [review] Bug 32151: Resolve uninitialized warn in numeric ne in C4::Ris We should not write: if ($kwfield != undef) { Test plan: Pick record with UTF8 chars. Download via cart or shelf in RIS format. Check your logs. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 22.11. Nice work everyone, thanks! |
Line 834 (21.11) shows the ugly: if ($kwfield != undef) { Master same line.