Koha/koha-tmpl/intranet-tmpl/lib
Nick Clemens 38e95c7769
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>
2023-11-06 08:42:46 -03:00
..
bootstrap
Chocolat
codemirror
d3c3
datatables
dayjs
flatpickr
fontawesome Bug 32910: (follow-up) Remove unused Font Awesome assets 2023-06-12 11:52:12 -03:00
greybox
jquery Bug 34270: Upgrade and prune jQueryUI assets in the staff interface 2023-10-09 11:41:18 -03:00
js-cookie
jsdiff
keyboard
koha/cateditor Bug 35181: Don't pass undef to header 2023-11-06 08:42:46 -03:00
leaflet
linters
select2
shortcut
sortable Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
tiny_mce
vis-timeline Bug 29002: Add vis-timeline 2023-11-03 12:04:10 -03:00
filesaver.js
hc-sticky.js
require.js