[Jifty-commit] r4163 - in Jifty-DBI/trunk: lib/Jifty/DBI

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Oct 1 14:00:22 EDT 2007


Author: alexmv
Date: Mon Oct  1 14:00:21 2007
New Revision: 4163

Modified:
   Jifty-DBI/trunk/   (props changed)
   Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm

Log:
 r22182 at zoq-fot-pik:  chmrr | 2007-10-01 13:59:23 -0400
  * We can have 0-valued columns!


Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm	Mon Oct  1 14:00:21 2007
@@ -1030,7 +1030,7 @@
     $self->{values} = {};
     #foreach my $f ( keys %$hashref ) { $self->{'fetched'}{  $f } = 1; }
     foreach my $col (map {$_->name} $self->columns) {
-        next unless $hashref->{lc($col)};
+        next unless defined $hashref->{lc($col)};
         $self->{'fetched'}{$col} = 1;
         $self->{'values'}->{$col} = $hashref->{lc($col)};
 


More information about the Jifty-commit mailing list