]> git.koha-community.org Git - koha.git/commit
Bug 20310: (follow-up) Check if biblio exists; 755 host_record.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 9 Apr 2021 07:39:49 +0000 (07:39 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 13:47:34 +0000 (15:47 +0200)
commitcc316db0b1c35594e81a93daec0d16fcc2aee2cb
tree642476bb0a513acbd1f7bb6aaf41d715cf25aedd
parentbf5ed39364fec678403dbe61d5cb260bf3776728
Bug 20310: (follow-up) Check if biblio exists; 755 host_record.t

In order to prevent an error like:
Can't call method "host_record" on an undefined value at opac/opac-request-article.pl

Also chmod's host_record.t to 755 (File must have the exec flag)

Test plan:
Change the URL so that the biblionumber does not exist.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-request-article.pl
t/db_dependent/Koha/Biblio/host_record.t [changed mode: 0644->0755]