Parent Directory | Revision Log | Patch
revision 169 by dpavlin, Sun Nov 23 15:39:23 2003 UTC | revision 215 by dpavlin, Sun Feb 1 22:06:00 2004 UTC | |
---|---|---|
# | Line 10 sub marc_sf { | Line 10 sub marc_sf { |
10 | ||
11 | my $i = shift @_ || 0; | my $i = shift @_ || 0; |
12 | ||
13 | my @out = $marc->getvalue({record=>$marc->marc_count(),field=>$f,subfield=>$s}); | my $rec = $main::cache->{marc_record} || die '$cache->{marc_record} is undefined!'; |
14 | ||
15 | my @out = $marc->getvalue({record=>$rec,field=>$f,subfield=>$s}); | |
16 | ||
17 | return $out[$i] if (@out && $out[$i]); | return $out[$i] if (@out && $out[$i]); |
18 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |