https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42637 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 199267 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199267&action=edit Bug 42637: Check if biblio exists before checking if it is fast add This patch reorders code to make sure the biblio record exists before checking if the framework is a fast add framework. To test: 1. Go to a non existing biblio record like: http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=99999999 2. See a 500 error or in ktd: Can't call method "frameworkcode" on an undefined value 3. Apply patch and restart_all 4. Repeat step 1 5. Now you get the nice error message: The record you requested does not exist (99999999). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.