From de04ff255d34f2cec05137a5308b368a962bdb3d Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 27 Feb 2008 12:45:08 +1300 Subject: [PATCH] Fixing broken call to getitemtypeimagesrcfromurl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- admin/itemtypes.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index 8e3291edbf..daec44ee82 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -271,7 +271,7 @@ else { # DEFAULT my @loop; foreach my $itemtype ( @{$results}[ $first .. $last ] ) { $itemtype->{toggle} = ($toggle++ % 2) ? 0 : 1 ; - $itemtype->{imageurl} = getitemtypeimagesrcfromurl( $itemtype->{imageurl} ); + $itemtype->{imageurl} = getitemtypeimagesrc('intranet') . "/$itemtype->{imageurl}"; $itemtype->{rentalcharge} = sprintf( '%.2f', $itemtype->{rentalcharge} ); push( @loop, $itemtype ); } -- 2.39.5