--- trunk/lib/WebPAC/Normalize.pm 2007/04/11 10:09:34 819 +++ trunk/lib/WebPAC/Normalize.pm 2007/05/23 20:03:14 831 @@ -872,6 +872,9 @@ my ($h,$include_subfields) = @_; + # sanity and ease of use + return $h if (ref($h) ne 'HASH'); + if ( defined($h->{subfields}) ) { my $sfs = delete $h->{subfields} || die "no subfields?"; my @out;