projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 1633: [SIGNED-OFF] Don't show image tab when inappropriate
[koha.git]
/
catalogue
/
image.pl
diff --git
a/catalogue/image.pl
b/catalogue/image.pl
index
17621d7
..
2af1246
100755
(executable)
--- a/
catalogue/image.pl
+++ b/
catalogue/image.pl
@@
-55,6
+55,8
@@
imagenumber, a random image is selected.
=cut
+error() unless C4::Context->preference("OPACLocalCoverImages");
+
if (defined $data->param('imagenumber')) {
$imagenumber = $data->param('imagenumber');
} elsif (defined $data->param('biblionumber')) {