bugfix: need to return something if an itemtype doesn't have an image

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>
This commit is contained in:
Michael Hafen 2008-08-28 14:58:21 -06:00 committed by Galen Charlton
parent 5d8a285b81
commit d98ed1dde1

View file

@ -487,7 +487,7 @@ sub getitemtypeimagesrc {
sub getitemtypeimagelocation($$) {
my ( $src, $image ) = @_;
return if ( !$image );
return '' if ( !$image );
my $scheme = ( uri_split( $image ) )[0];