/[MARC-Fast]/trunk/Fast.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 /trunk/Fast.pm

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

revision 23 by dpavlin, Sun Nov 4 22:44:42 2007 UTC revision 24 by dpavlin, Tue Nov 6 20:06:07 2007 UTC
# Line 336  sub to_hash { Line 336  sub to_hash {
336    
337                                          # repeatable subfiled -- convert it to array                                          # repeatable subfiled -- convert it to array
338                                          if ($val->{$f}) {                                          if ($val->{$f}) {
339                                                  if ( $sf_usage->{$f} == 2 ) {                                                  if ( ref($val->{$f}) ne 'ARRAY' ) {
340                                                          $val->{$f} = [ $val->{$f}, $val ];                                                          $val->{$f} = [ $val->{$f}, $val ];
341                                                  } else {                                                  } else {
342                                                          push @{$val->{$f}}, $val;                                                          push @{$val->{$f}}, $val;

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26