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

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Oct 1 14:09:45 EDT 2007


Author: alexmv
Date: Mon Oct  1 14:09:43 2007
New Revision: 4164

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

Log:
 r22184 at zoq-fot-pik:  chmrr | 2007-10-01 14:09:15 -0400
  * We can have 0-valued columns, again


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:09:43 2007
@@ -1063,7 +1063,7 @@
     $self->{'decoded'} = {};
     #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