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.
---
 C4/Koha.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Koha.pm b/C4/Koha.pm
index 8e5b4c7..a35909f 100644
--- a/C4/Koha.pm
+++ b/C4/Koha.pm
@@ -487,7 +487,7 @@ sub getitemtypeimagesrc {
 sub getitemtypeimagelocation($$) {
        my ( $src, $image ) = @_;
 
-       return if ( !$image );
+       return '' if ( !$image );
 
        my $scheme = ( uri_split( $image ) )[0];
 
-- 
1.5.4.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to