View | Details | Raw Unified | Return to bug 14879
Collapse All | Expand All

(-)a/catalogue/detail.pl (-3 / +2 lines)
Lines 205-212 foreach my $item (@items) { Link Here
205
    $item->{imageurl} = defined $item->{itype} ? getitemtypeimagelocation('intranet', $itemtypes->{ $item->{itype} }{imageurl})
205
    $item->{imageurl} = defined $item->{itype} ? getitemtypeimagelocation('intranet', $itemtypes->{ $item->{itype} }{imageurl})
206
                                               : '';
206
                                               : '';
207
207
208
	foreach (qw(datelastseen onloan)) {
208
    foreach (qw(datelastseen onloan)) {
209
		$item->{$_} = output_pref({ dt => dt_from_string( $item->{$_} ), dateonly => 1 });
209
        $item->{$_} = output_pref({ dt => dt_from_string( $item->{$_} ), dateonly => 1 });
210
    }
210
    }
211
    $item->{datedue} = format_sqldatetime($item->{datedue});
211
    $item->{datedue} = format_sqldatetime($item->{datedue});
212
    # item damaged, lost, withdrawn loops
212
    # item damaged, lost, withdrawn loops
213
- 

Return to bug 14879