Koha/svc
Nick Clemens 936a311609 Bug 35181: Don't pass undef to header
It seems passing an undef value causes the headers to be malformed.

To test:
1 - Visit http://localhost:8081/cgi-bin/koha/svc/bib/303
2 - Note 'Invalid-metadata' at top of page, as well as other headers
3 - Apply patch, restart all
4 - Visit http://localhost:8081/cgi-bin/koha/svc/bib/303
5 - Page should now appear as xml
6 - Edit record 303, or any record with valid metadata in the advanced cataloging editor
7 - Confirm there is no error or alert
8 - Edit record 369 in the advanced cataloging editor
9 - Confirm there is an alert

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 38e95c7769)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-11-09 21:10:13 -10:00
..
cataloguing
club
config Bug 34369: Require CSRF token for updating system preferences 2023-09-26 21:29:27 -10:00
letters
mana
members
records
virtualshelves
article_request
authentication
authorised_values
barcode Bug 34732: (QA follow-up): tidy up code 2023-09-20 20:12:28 -10:00
bib Bug 35181: Don't pass undef to header 2023-11-09 21:10:13 -10:00
bib_framework
bib_profile
checkin
checkout_notes
checkouts Bug 33944: Don't fetch item object unless using recalls 2023-07-17 14:42:23 +01:00
convert_report Bug 34533: jsdiff library missing from guided reports page 2023-08-29 20:46:54 -10:00
cover_images
creator_batches
holds
import_bib
localization
new_bib
problem_reports
recall
renew Bug 27249: Prevent infinite loop when searching for an open day 2023-10-24 20:27:34 -10:00
report
return_claims
split_callnumbers