fixup Record.pm to not use the scalar eliminated in r3630
Matt S Trout [Sun, 29 Jul 2007 18:20:47 +0000 (18:20 +0000)]
lib/DBIx/Class/JDBICompat/Record.pm

index 8334ec8..ed8a2c4 100755 (executable)
@@ -879,7 +879,7 @@ sub __set {
         # XXX TODO primary_keys
         $self->load_by_cols( id => $self->id );
     } else {
-        $self->{'values'}{ $column->name } = $unmunged_value;
+        $self->{'values'}{ $column->name } = $args{'value'};
         $self->{'decoded'}{ $column->name } = 0;
     }
     $ret->as_array( 1, "The new value has been set." );