Fixing broken call to getitemtypeimagesrcfromurl
authorChris Nighswonger <cnighswonger@foundations.edu>
Tue, 26 Feb 2008 23:45:08 +0000 (12:45 +1300)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 27 Feb 2008 15:02:55 +0000 (09:02 -0600)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
admin/itemtypes.pl

index 8e3291e..daec44e 100755 (executable)
@@ -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 );
     }