From: Rafael Kitover Date: Thu, 23 Jul 2009 14:34:06 +0000 (+0000) Subject: minor change X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=34ff59bba9adac4e41508693d5f5dfa63332f9a4;p=dbsrgits%2FDBIx-Class-Historic.git minor change --- diff --git a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm index 6c3483e..21885d4 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -43,7 +43,7 @@ sub _prep_for_execute { my $fields = $args->[0]; my $col_info = $self->_resolve_column_info($ident, [keys %$fields]); - for my $col (keys %$col_info) { + for my $col (keys %$fields) { if ($col_info->{$col}{data_type} eq 'money') { my $val = $fields->{$col};