/[webpac]/branches/drustvene/marc_sf.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/drustvene/marc_sf.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 607 by dpavlin, Mon Dec 27 22:16:30 2004 UTC revision 608 by dpavlin, Tue Dec 28 04:12:06 2004 UTC
# Line 14  sub marc_sf { Line 14  sub marc_sf {
14          if ($s) {          if ($s) {
15                  @out = $marc->subfield($f,$s);                  @out = $marc->subfield($f,$s);
16          } else {          } else {
17                  @out = $marc->field($f);                  @out = $marc->field($f)->as_string() if ($marc->field($f));
18          }          }
19    
20          return $out[$i] if (@out && $out[$i]);          return $out[$i] if (@out && $out[$i]);

Legend:
Removed from v.607  
changed lines
  Added in v.608

  ViewVC Help
Powered by ViewVC 1.1.26