projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492ff3a
)
bugfix: need to return something if an itemtype doesn't have an image
author
Michael Hafen
<mdhafen@tech.washk12.org>
Thu, 28 Aug 2008 20:58:21 +0000
(14:58 -0600)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Tue, 4 Nov 2008 18:16:49 +0000
(19:16 +0100)
I noticed that on the search pages if an itemtype doesn't have an image it's information doesn't make it out the the template. I don't understand why, but this fixes it.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Koha.pm
patch
|
blob
|
history
diff --git
a/C4/Koha.pm
b/C4/Koha.pm
index
699c0cd
..
b5e87f6
100644
(file)
--- a/
C4/Koha.pm
+++ b/
C4/Koha.pm
@@
-483,7
+483,7
@@
sub getitemtypeimagesrc {
sub getitemtypeimagelocation($$) {
my ( $src, $image ) = @_;
- return if ( !$image );
+ return
''
if ( !$image );
my $scheme = ( uri_split( $image ) )[0];