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:
parent
5d8a285b81
commit
d98ed1dde1
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ sub getitemtypeimagesrc {
|
|||
sub getitemtypeimagelocation($$) {
|
||||
my ( $src, $image ) = @_;
|
||||
|
||||
return if ( !$image );
|
||||
return '' if ( !$image );
|
||||
|
||||
my $scheme = ( uri_split( $image ) )[0];
|
||||
|
||||
|
|
Loading…
Reference in a new issue