Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |